Creating A database
Author
Discussion

Scotmove

Original Poster:

78 posts

231 months

Tuesday 27th November 2007
quotequote all
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

driverrob

4,848 posts

235 months

Tuesday 27th November 2007
quotequote all
I applaud your positive attitude but, in all probability, you'd have fewer headaches paying someone to do it.
It's not rocket science or brain surgery but, for most of us, it might as well be.

plasticpig

12,932 posts

257 months

Tuesday 27th November 2007
quotequote all
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.


hawkaye

4,505 posts

243 months

Tuesday 27th November 2007
quotequote all
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.

cyberface

12,214 posts

289 months

Wednesday 28th November 2007
quotequote all
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.

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 biglaugh - but I've got the recommendation in first (remember, Python sucks) hehe

Scotmove

Original Poster:

78 posts

231 months

Wednesday 28th November 2007
quotequote all
Thanks for all the advice guys. I mthink 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?

hawkaye

4,505 posts

243 months

Wednesday 28th November 2007
quotequote all
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?

Scotmove

Original Poster:

78 posts

231 months

Thursday 29th November 2007
quotequote all
Yeah, if that makes an estimation easier!

cottonfoo

6,053 posts

242 months

Thursday 29th November 2007
quotequote all
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 smile 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.

cyberface

12,214 posts

289 months

Thursday 29th November 2007
quotequote all
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 smile 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.
I *knew* that would reel you in hehe

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 biggrin

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 smile

.Flyer

434 posts

282 months

Friday 30th November 2007
quotequote all
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

6,053 posts

242 months

Friday 30th November 2007
quotequote all
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 smile
No mate, same as me. I like Ruby, and "everything is easy when you know how", even PCRE smile

cyberface

12,214 posts

289 months

Saturday 1st December 2007
quotequote all
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 smile
No mate, same as me. I like Ruby, and "everything is easy when you know how", even PCRE smile
Regular expressions have a bit of a steep learning curve though. The concept isn't impenetrable, but IMO the syntax most certainly is. It's a bit like fixed income performance and attribution analytics - the maths and jargon make the whole field sound ridiculously difficult but once you've got a few key concepts down, it all makes sense. The trouble with the guys who write regexps day-in, day-out as professional programmers is that they'll throw them into their scripts without documenting what the hell they're doing, which given the terse syntax means that non-experts won't have a clue what they mean.

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 hehe 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. smile

dilbert

7,741 posts

263 months

Saturday 1st December 2007
quotequote all
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 smile
No mate, same as me. I like Ruby, and "everything is easy when you know how", even PCRE smile
Regular expressions have a bit of a steep learning curve though. The concept isn't impenetrable, but IMO the syntax most certainly is. It's a bit like fixed income performance and attribution analytics - the maths and jargon make the whole field sound ridiculously difficult but once you've got a few key concepts down, it all makes sense. The trouble with the guys who write regexps day-in, day-out as professional programmers is that they'll throw them into their scripts without documenting what the hell they're doing, which given the terse syntax means that non-experts won't have a clue what they mean.

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 hehe 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. smile
Regex is great. It can be used as a programming tool, but personally I've found it's usually better to write simple native validating algorithms. They're faster, and they rarely have any ambiguity or potential for error. The place where regex is great is Grep or "find in files" type functions.

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.
smile

Edited by dilbert on Saturday 1st December 06:03