The Web Squeeze: Why Mysql - The Web Squeeze

Jump to content

Forum

Digg Del.ico.us Slashdot Technorati furl Reddit Facebook Fark Google Magnolia Wink Yahoo Netscape
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Why Mysql Beginners questions

#1 User is offline   Acolyte Icon

  • New Squeeze
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-August 09

Posted 23 August 2009 - 10:40 PM

I've been looking around to try to find out why I might want to use MySQL - our hosting site offers unlimited mysql db's & I am trying to work out why I might want to have db's for our sites.

Are there specific reasons for underpinning a site with a db? Is it only for (say) an ecommerce site? Would it help in any way to have db's for a general site that has news, interviews & general info?

I'm in the process of setting up several sites for myself & my wife & figure it would be best to design them as well as I can from the beginning rather than trying to patch them up later. And... I'm at rank tyro level in all this. :prankster2:
0

#2 User is offline   Jason Icon

  • Master of the Universe
  • Icon
  • Group: Mentor
  • Posts: 2,533
  • Joined: 15-February 08
  • Gender:Male
  • Location:London, England

Posted 24 August 2009 - 02:48 AM

A database allows you to store and retrieve information.

Thus, if you want a site with users, content you can edit, products you wish to sell, a database is the way to go.

As for learning MySQL. I would suggest getting a programming book on PHP. They usually have an MySQL section in it. There is little point learning SQL if you don't know another language such as PHP to make database calls from.
0

#3 User is offline   MikeHopley Icon

  • Professional Squeeze
  • Icon
  • Group: Mentor
  • Posts: 1,382
  • Joined: 15-February 08
  • Gender:Male
  • Location:UK

Posted 24 August 2009 - 05:41 AM

I suggest you don't start learning MySQL unless you have a clear need for it. With a "plain content" site, you don't need a database (although many publishing tools use one). If you want a "blog like" site, with user comments, then you need a database. Using a database isn't "all or nothing"; for example, I use a database for subscribers and payments, but not for my content (which is "static").

Your web hosting will come with a huge number of tools, but that doesn't mean you should use them all. It's commendable that you want to "learn the right way", but the reality of learning is less linear. You could spend 5 years diligently learning all the different web technologies, in an effort to "have a good foundation". But by the time you finished learning all this, most of what you learned would be outdated, and you still wouldn't have a website.

You cannot avoid "patching things up later". Iteration is inevitable. Don't try to create a "perfect" site that's ready for anything; just try to create a site that can satisfy your current requirements. If you don't need a feature, leave it out.

I'm not saying you should shun all planning -- only that excessive planning can hobble your project. Do enough to get your "first draft" working. As you go along, you'll uncover problems with your initial methods; these problems will direct your learning, so that you only learn about things that are relevant to you.

You cannot learn everything, and you cannot create a truly "future proof" website. Attempting to do so will lead to massive "scope creep", whereby an initially straightforward project becomes suffocatingly complex.

Thankfully, there are lots of knowledgeable people here who can help point you in the right direction. You need only explain what you want to accomplish, as specifically as possible, and we can recommend what to learn and what to ignore. :)
0

#4 User is offline   Acolyte Icon

  • New Squeeze
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-August 09

Posted 24 August 2009 - 08:02 AM

Thanks, that helps a lot. I was concerned that by not starting with a db I might be building up for much more work later.

To quote Arnie... 'I'll be barck...' :lol:
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


Page 1 of 1
Trackbacks
Trackback URL Trackback Date Total Hits
No trackbacks were found
Page 1 of 1

Similar Topics
  Topic Started By Stats Last Post Info
Locked Topic Icon Change Mysql Section Jason Icon
  • 4 Replies
  • 1,285 Views
New Replies Icon Learning Php/mysql thewal Icon
  • 3 Replies
  • 1,370 Views
New Replies Icon Random Php Questions Jason Icon
  • 7 Replies
  • 1,462 Views
Hot Topic (New) Icon Wierd Php / Mysql Error... JustinStudios Icon
  • 14 Replies
  • 2,191 Views
Hot Topic (New) Icon Php Form With Some Questions Relevent To Past Questions. Itsumishi Icon
  • 23 Replies
  • 2,577 Views

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users