sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Using Local Databases in WebDialogs

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 431 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TommyKT Offline
      TommyK
      last edited by

      I am looking at putting together an extension that remembers previous content input into the classifier system, and allow future content to be autocompleted as the user starts to type.

      (Personally, I want to start making Specifications and Schedules of Work within the model, which then gets generated into reports, but it could be very useful for many kinds of tagging).

      It is clear I need a local indexed database for this. Ideally, I would use a database that can be manipulated/searched directly from the webdialog through javascript, but a Ruby-based database is an option. I have investigated:

      • indexedDB - was promising, but turns out WebDialog in OS X turns this feature off. Shame, as it seems to work in Safari. Anyone know any different?
      • XML file - simple, but am concerned that searching for strings would take too long.
      • WebSQL - no support for IE, and is set to be depreciated in future. Not an option really.
      • Ruby SQLite - it is ruby, more discussion here: http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=11594 . There seems to be a lot of doubts about getting it working well within Sketchup, with performance problems. But maybe this is the way to go?

      I would really appreciate some advice on what the best path is. Has anyone tried using databases and what has been their experience?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement