1. Log in now to remove adverts - no adverts at all to registered members!

The NOT606 Fraternity

Discussion in 'General Chat' started by Null, Nov 20, 2014.

  1. Bib Fortuna's Maw

    Bib Fortuna's Maw Well-Known Member

    Joined:
    Nov 15, 2011
    Messages:
    11,729
    Likes Received:
    748
    Right then, who wants a good bumming?
     
    #21
  2. Null

    Null Well-Known Member Forum Moderator

    Joined:
    Jan 21, 2010
    Messages:
    34,179
    Likes Received:
    9,757
    this is acceptable tho...
     
    #22
  3. RAVENBLACK

    RAVENBLACK Well-Known Member

    Joined:
    Jan 21, 2010
    Messages:
    24,877
    Likes Received:
    265
    Boring Geek **** Alert.
     
    #23
  4. Tiddler

    Tiddler Hoshu-tekina

    Joined:
    Jan 27, 2011
    Messages:
    4,886
    Likes Received:
    2,542
    please log in to view this image
     
    #24
  5. stopmeandslapme

    stopmeandslapme Well-Known Member

    Joined:
    Mar 24, 2011
    Messages:
    20,378
    Likes Received:
    10,340
    My DB requirements are a full schema. I keep my Metal Detecting find information in an MS Access DB, it is not big but has about 20 tables, things like County, Monarch (if a coin), Metal, Item Class (e.g. Coin), Item Type (e.g. Penny), etc. Started but haven't finished an application to enter finds and want to include pics, view locations on google maps, bulk edit items, sort them/ query them any way I want, all that ****. Thought if I'm going to put all this effort in then maybe other people might want to use it so I'm asking what's the best DB setup to use so anybody on the net could install it and start recording their own finds without any technical know how?

    I was an Oracle developer for years but that's out of the question so wondering is it possible to have a setup of say sql server (bare bones) where the install takes care of all the user accounts/logins? Still probably not a goer as it relies on a service running and if that gets stopped the app won't run so we are getting into 24/7 telephone support territory... Guess what I really need is just a local DB file like Access but can run without Office installed. Have considered using my own text files but that's alot of work.

    Don't know anything about WMI will look into it cheers.
     
    #25
  6. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    Ok, it sounds like you have relational requirements, and it's good you have Oracle knowledge because you understand what relational data is.

    Yep, you need a relational database.

    Forget WMI, it won't suit you. It could be contrived to do so but it's not what it was designed for. It's for minimal and object orientated storage.

    Forget CSV, it's non-relational.

    So, yer looking at lightweight relational databases, as you originally said.

    You can use XML files, a file for 'Country', another for 'Item', another for 'ItemType' etc each to their own XML Schema and relational rules, and a master XML file that pulls them together as a 'database' with relational rules.

    XML files containing data, with code accessing them via XPath and XQuery are highly capable of implementing a lightweight relational database. You have to write the XML Schemas and also the code that accesses your XML "database".

    That would allow you to install (download) an application that creates and configures it's own local database. You could also have initial data in any of the downloaded XML data files.

    Think of an XML data file as it were a table in Oracle. Implement relationships between tables(files) as XPath/XQuery constructs in your code.

    Otherwise, bite the bullet and install and configure an actual relational database which would put the onus on your downloaded app to do so.

    Given the brief outline of your requirements I would go with an XML based solution.

    ...or, you can just squirt them your Access database files. I don't know about that. I've successfully avoided Access throughout almost all my career.
     
    #26

  7. Null

    Null Well-Known Member Forum Moderator

    Joined:
    Jan 21, 2010
    Messages:
    34,179
    Likes Received:
    9,757
    Pm each other you gays...
     
    #27
  8. stopmeandslapme

    stopmeandslapme Well-Known Member

    Joined:
    Mar 24, 2011
    Messages:
    20,378
    Likes Received:
    10,340
    Hmmm, so you are saying I'd have to write my own database engine to store stuff in xml files, was hoping there'd be something out there that already does that. There's a danger that this would cease to be a project to store metal detecting finds and instead become a project to invent a new database engine.

    Don't know what XQuery is, will look into it.
     
    #28
  9. gas

    gas ACCOUNT DELETED Forum Moderator

    Joined:
    Jan 27, 2011
    Messages:
    19,124
    Likes Received:
    6,716
    I shall return to this thread later when I require sleep.
     
    #29
  10. stopmeandslapme

    stopmeandslapme Well-Known Member

    Joined:
    Mar 24, 2011
    Messages:
    20,378
    Likes Received:
    10,340
    This comment is patronising.
     
    #30
  11. Null

    Null Well-Known Member Forum Moderator

    Joined:
    Jan 21, 2010
    Messages:
    34,179
    Likes Received:
    9,757
    Jip...close this thread. All this gay chat is sickening...
     
    #31
  12. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    I'm not saying anything. You asked a question I gave you advice.

    You are not creating a new database engine. You are manipulating your own data stored as local XML files. If, for example, you write the app on the .NET platform you have huge amounts of help in doing so as regards XML/XPath/XQuery/XSL. Not only are multiple libraries available to you, you can also combine them via LINQ.

    Right, that's enough free consultancy. I will answer any specific questions you have but normally I get paid for this.
     
    #32
  13. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    Eh? **** off
     
    #33
  14. stopmeandslapme

    stopmeandslapme Well-Known Member

    Joined:
    Mar 24, 2011
    Messages:
    20,378
    Likes Received:
    10,340
    Dunno bugger all about XPath/XQuery but I've been working mostly with Oracle PL/SQL since 1998 so I do get the relational database thing.
     
    #34
  15. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    **** you, stopme.

    The fuddy just read these posts and gave me a row for being a patronising dick.

    How did that happen?

    <laugh>
     
    #35
  16. gas

    gas ACCOUNT DELETED Forum Moderator

    Joined:
    Jan 27, 2011
    Messages:
    19,124
    Likes Received:
    6,716
    Are you pair of ****s serious. <doh>

    Get yer XML/XPath/XQuery/XSL, hit f2 delete programme reboot, eat pizza, have a **** and fall asleep in your spunk stained pants dreaming of a better life.

    :)
     
    #36
  17. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    **** you, anaw

    It's guys like us that allow guys like you to spend yer time on here. <grr>
     
    #37
  18. stopmeandslapme

    stopmeandslapme Well-Known Member

    Joined:
    Mar 24, 2011
    Messages:
    20,378
    Likes Received:
    10,340
    You're a good all-rounder. Until I got this current job I had literally not worked on anything other than Oracle PL-SQL/TOAD for 14 years. Feel free to direct any Oracle queries you want optimising at me.
     
    #38
  19. gas

    gas ACCOUNT DELETED Forum Moderator

    Joined:
    Jan 27, 2011
    Messages:
    19,124
    Likes Received:
    6,716
    Better together <hug>
     
    #39
  20. Gambol

    Gambol George Clooney's wee brother

    Joined:
    Jan 22, 2010
    Messages:
    60,585
    Likes Received:
    18,242
    Fair enough. I didn't mean to be patronising and if it came across that way I apologise. It was not intended. I'm not that kind of bloke.
     
    #40

Share This Page