Creating A database
Discussion
Right well erm.. I am a bit of a moron when it comes to these things so please forgive me if i ask really stpid Qs.
I want to set up a site a with a searchable database. So, people would visit the site, search for something and a list of result would come up.
How do I go about this? I am presuming it would be too dificult for an ordinary pc user to do. I am also presuming you can pay someone to do it. Would this be a lenghty and expensive process? I would be willing to put time and a lot of effort into this, if this would affect the answer.
Cheerzo
I want to set up a site a with a searchable database. So, people would visit the site, search for something and a list of result would come up.
How do I go about this? I am presuming it would be too dificult for an ordinary pc user to do. I am also presuming you can pay someone to do it. Would this be a lenghty and expensive process? I would be willing to put time and a lot of effort into this, if this would affect the answer.
Cheerzo
Its all dependent on how complex the site and the database is. I suggest you download a copy of Aware IM http://www.awareim.com/ which is a visual web database creator and have a play to see if you can do it yourself. It dosent require any programming. There are other tools like this around but this is one I have used.
Hello,
It's pretty straight forward really. Take Modx, this is a free content management system (CMS). What this does is sets everything up for you (more or less) and is extremely easy to use (just install on your server and bobs your uncle). What you need is some decent hosting for your site, and also 1 mysql database and php support which the host can provide.
I'd be happy to help out, at least getting the thing set up so you can play with it.
Neil.
It's pretty straight forward really. Take Modx, this is a free content management system (CMS). What this does is sets everything up for you (more or less) and is extremely easy to use (just install on your server and bobs your uncle). What you need is some decent hosting for your site, and also 1 mysql database and php support which the host can provide.
I'd be happy to help out, at least getting the thing set up so you can play with it.
Neil.
Scotmove said:
Right well erm.. I am a bit of a moron when it comes to these things so please forgive me if i ask really stpid Qs.
I want to set up a site a with a searchable database. So, people would visit the site, search for something and a list of result would come up.
How do I go about this? I am presuming it would be too dificult for an ordinary pc user to do. I am also presuming you can pay someone to do it. Would this be a lenghty and expensive process? I would be willing to put time and a lot of effort into this, if this would affect the answer.
Cheerzo
Ruby on Rails - get the 'Agile Web Development with Rails' by Thomas Heinemeier Hansson book.I want to set up a site a with a searchable database. So, people would visit the site, search for something and a list of result would come up.
How do I go about this? I am presuming it would be too dificult for an ordinary pc user to do. I am also presuming you can pay someone to do it. Would this be a lenghty and expensive process? I would be willing to put time and a lot of effort into this, if this would affect the answer.
Cheerzo
Ruby is the best programming language out there for getting stuff done fast and elegantly, and properly (rather than quick dirty hacks). Rails gives you the web framework and database connection (ActiveRecord) classes to design a database-driven website.
I claim this because you said you're 'willing to put time and effort into this' - you will need to learn Ruby (easy if you've done any programming ever) and read the Rails book and have a play around. Previous posters are correct though - unless you have a development background in both database design and user interface development then it'll be quicker to pay someone else to do it for you.
If you want to do it to learn, then Ruby rocks.
No doubt this post will be followed by the usual suspect saying Python is better than Ruby
- but I've got the recommendation in first (remember, Python sucks) 
Scotmove said:
Thanks for all the advice guys. I think i might end up paying someone to do it, but might as well have a wee go at it myself for fun. What would be a rough price range for paying someone to do it?
do you mean for someone to set up the site for you, including design, content, images, database and all other stuff? cyberface said:
Ruby is the best programming language out there for getting stuff done fast and elegantly, and properly (rather than quick dirty hacks).
Perl is better than Ruby for prototyping, and can do this just as well as Ruby (if not better), Perl has been gluing the Internet together for longer than Ruby and Python combined
Perl also has CPAN, no other scripting language can even come close to that.However, none of the above are going to help you really, the learning curve is so steep as to be impassable if you want to do this in a reasonably short amount of time.
cottonfoo said:
cyberface said:
Ruby is the best programming language out there for getting stuff done fast and elegantly, and properly (rather than quick dirty hacks).
Perl is better than Ruby for prototyping, and can do this just as well as Ruby (if not better), Perl has been gluing the Internet together for longer than Ruby and Python combined
Perl also has CPAN, no other scripting language can even come close to that.However, none of the above are going to help you really, the learning curve is so steep as to be impassable if you want to do this in a reasonably short amount of time.

You are correct, Perl is much more widely used. Then again, so are VBA macros in Excel. Popularity doesn't equal elegance. I'd say that Perl is equally (probably a bit more) powerful than Ruby, but nowhere near as elegant. And Perl scripts full of regexps can be, let's be diplomatic here, a touch inpenetrable to anything other than the guy with the large beard and sandals

But hey, I've always said best tool for the job and I don't like religious wars, least of all about programming languages. Just thought I'd throw a hook out and see who bit

Talking of Ruby on Rails; Sitepoint have a complete Rails book, "Build Your Own Ruby on Rails Web Applications" as a FREE pdf download. That should get you started.
cottonfoo said:
cyberface said:
But hey, I've always said best tool for the job and I don't like religious wars, least of all about programming languages. Just thought I'd throw a hook out and see who bit 
No mate, same as me. I like Ruby, and "everything is easy when you know how", even PCRE 

That's the main issue I have with regexps... if you're not using them regularly, then they're unnecessarily opaque - there's nothing intuitive about the syntax. I've used all sorts of tools and since I'm not a pure programmer (and most certainly not a programmer who only knows one tool, like some of the Java and .NET guys) I don't spend enough time with any specific tool (other than SQL, naturally, but different DBMSes have different quirks that you *need* to know) to become ultra-fluent.
I reckon intuitive syntax is important otherwise it means only true experts can easily pick up and understand any given bit of code. I haven't programmed Microsoft stuff (other than SQL Server) for ages (moved away from development career-wise years ago) but as part of a small business re-engineering exercise I saw some of the existing C# code today. It was clear what it was doing, there were too many brackets around for my aesthetic sensibilities
but the structure, object names and methods, calling syntax and exception handling made it easy for a non-C#-programmer to instantly understand. I can't pick up a Perl script with a bunch of regexps in and easily work out what the actual *function* of the code is...But that's well off topic.

cyberface said:
cottonfoo said:
cyberface said:
But hey, I've always said best tool for the job and I don't like religious wars, least of all about programming languages. Just thought I'd throw a hook out and see who bit 
No mate, same as me. I like Ruby, and "everything is easy when you know how", even PCRE 

That's the main issue I have with regexps... if you're not using them regularly, then they're unnecessarily opaque - there's nothing intuitive about the syntax. I've used all sorts of tools and since I'm not a pure programmer (and most certainly not a programmer who only knows one tool, like some of the Java and .NET guys) I don't spend enough time with any specific tool (other than SQL, naturally, but different DBMSes have different quirks that you *need* to know) to become ultra-fluent.
I reckon intuitive syntax is important otherwise it means only true experts can easily pick up and understand any given bit of code. I haven't programmed Microsoft stuff (other than SQL Server) for ages (moved away from development career-wise years ago) but as part of a small business re-engineering exercise I saw some of the existing C# code today. It was clear what it was doing, there were too many brackets around for my aesthetic sensibilities
but the structure, object names and methods, calling syntax and exception handling made it easy for a non-C#-programmer to instantly understand. I can't pick up a Perl script with a bunch of regexps in and easily work out what the actual *function* of the code is...But that's well off topic.

The way I see it is that Perl is a bit of a collision language. That is to say, its a language where someone said, lets write a new language, and pull some existing technologies together to achieve it.
The sad part is that most people when writing Grep functions, write their own regex and the syntax is subtly different every time. The result is, that you know it can find what you're looking for, it's just you don't know how to tell it what to find. Whilst I've said what I've said about Perl, it's regex is IMO the standard that should be followed.
Regex, in a generic sense, is easy. There's only about four concepts that you have to understand. The trouble with regex is syntactic.
As for C#, I'm sure it is easy to pick up from C,C++,Pascal and so on, but you can't tell employers that! The learning curve with languages are far more about the API's or the semantics, rather than the syntax, but nobody ever seems to talk about that. I have my suspicions, but always wonder why!
That's the trouble these days, people don't separate their syntax and semantics, it's all about tools and packages.

Edited by dilbert on Saturday 1st December 06:03
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


