• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Some interesting serverless database. What do you think?

Scheduled Pinned Locked Moved Developers' Forum
11 Posts 4 Posters 1.2k Views 4 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.
  • N Offline
    NewOne
    last edited by 24 Nov 2009, 19:11

    It looks like nobody have nothing to say neither heard about it. And I'm trying to understand it. πŸ’š

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 24 Nov 2009, 19:16

      So far I have not needed any database services in my scripts. But please do keep this updated if you get it working πŸ˜„

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 24 Nov 2009, 19:33

        Me neither, haven't dealt with databases since I was making websites.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • N Offline
          NewOne
          last edited by 24 Nov 2009, 19:42

          This one is slightly different from commonly used databases. It doesn't deals with tables, but with CLASSES. And as my knowledge about databases is at its beginnings, I have difficulties to understand how it works.

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by 25 Nov 2009, 13:44

            What is the problem you are trying to solve?

            Hi

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 25 Nov 2009, 14:02

              Well, if I take a guess at what you need , I think I can give a generalized solution in common use, and uses only open-source software.

              • select a computer to use as the server. It can be any computer on the network, or even your everyday computer you use for SketchUp.

              • Install the Apache web server, MySQL database, and PHP. If you are working on windows, there is a nice package called wamp . If you have a Linux machine to use as a server, the software is is almost certainly installed by default.

              • Create a test database with a table using Mysql command line, or PhpMyAdmin to make it easier. Set the database user and password. This will be used by the PHP script.

              • There will be a php script in the server /www folder that takes the POST data and send it to the database. PHP has a decent mysql library built-in. Use the username, password, and database name from the previous step to connect.

              • Use a WebDialog from SketchUp to send the post data to the PHP script.

              Obviously there are many details I left out, but maybe this gives you some idea what is involved without needing to install Ruby libraries for SketchUp.

              Hi

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 25 Nov 2009, 14:13

                Surely there are MySQL solutions already available for Ruby so you don't need to add the extra layer of PHP and webdialogs... ❓ That just sounds like begging for headache.

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 25 Nov 2009, 14:19

                  Of course there are, but I thought one of the problems was getting anything to work with SketchUp/Ruby.

                  The solution I gave should work on all platforms, and without adding anything to SketchUp.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    NewOne
                    last edited by 25 Nov 2009, 19:20

                    I made MySQL working with SketchUp Ruby and was really easy to do it. But I didn't liked it because of the server. MySQL is too powerfull for some stand-alone small application. I tried same thing SQLite3, but I was unable to make it work under SketchUp Ruby.
                    In the end I found what I shown you. The concept is a little different from common databases, but is ruby πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 28 Nov 2009, 16:38

                      I think CouchDB is an interesting project, too.

                      Hi

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

                      Advertisement