What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » For all you webmasters!

Poll: If you had the choice would you have txtfile, SQlite or Mysql?
TexTFile
MySql
Sqlite
[Show Results | Edit Poll]
Note: This is a public poll; other users will be able to see what you voted for.
For all you webmasters!
Author: Message:
Quantum
Disabled Account
*****

Away.

Posts: 1055
Reputation: -17
31 / Male / Flag
Joined: Feb 2007
O.P. Wink  For all you webmasters!
If you had a CMS, would you use MYSQL, Sqlite or textfile?

I heard text file is super fast?
No longer here.
03-02-2008 09:10 AM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: For all you webmasters!
MySQL ftw
03-02-2008 09:13 AM
Profile PM Find Quote Report
Quantum
Disabled Account
*****

Away.

Posts: 1055
Reputation: -17
31 / Male / Flag
Joined: Feb 2007
O.P. RE: For all you webmasters!
But, whats the fastest?
No longer here.
03-02-2008 09:14 AM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: For all you webmasters!
quote:
Originally posted by john-t
But, whats the fastest?
mysql since its running as a service
[Image: dt2.0v2.png]      Happy Birthday, WDZ
03-02-2008 09:53 AM
Profile PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: For all you webmasters!
MySQL is a service, it allows multiple connections at once, is easy to manage,... Seriously, if you learn how to use MySQL in PHP, you won't EVER want to use *.txt files anymore!

Imagine two almost simultaneous attempts to write to a single text file to update some stuff. The first instance reads it, then the second does. The first one writes some stuff to it, but the second one overwrites it without knowing that the first instance just wrote something else to that file. Thus, your first writing action will be lost. On a small server, this may not sound like a big problem, but imagine having a popular site with lots of visitors... then you'll be happy you've chosen for MySQL! :)

Don't know much about SQLite, but if Wikipedia is correct, it uses a .sqlite file to store the information in... Uh? :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-02-2008 10:41 AM
Profile E-Mail PM Web Find Quote Report
Quantum
Disabled Account
*****

Away.

Posts: 1055
Reputation: -17
31 / Male / Flag
Joined: Feb 2007
O.P. RE: For all you webmasters!
Yeah, or a .db. I can't have MYSQL know so its txt or db?
No longer here.
03-02-2008 10:42 AM
Profile PM Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
RE: For all you webmasters!
I've moved into MySQL / PHP development stuff now, very good :) definately MySQL!
...there used to be a signature here :)
03-02-2008 12:44 PM
Profile PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: For all you webmasters!
Saving data to a plain text file is never desirable for a website, like Mattike said, it creates a lot of potential problems.

SQLite is great mostly for applications because it doesn't use a separate process to run in, instead it's called from libraries in the program itself (Firefox uses SQLite). For webservers you won't need a selfcontained solution, MySQL is widely supported, a lot of PHP scripts won't support anything else than MySQL.

Finish the problem
Menthix.net | Contact Me
03-02-2008 01:19 PM
Profile E-Mail PM Web Find Quote Report
Quantum
Disabled Account
*****

Away.

Posts: 1055
Reputation: -17
31 / Male / Flag
Joined: Feb 2007
O.P. RE: For all you webmasters!
So out of txtfiles and Sqlite i should use sqlite, right?
No longer here.
03-02-2008 02:13 PM
Profile PM Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: For all you webmasters!
Exactly.
Finish the problem
Menthix.net | Contact Me
03-02-2008 02:21 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On