php vs python

Damon Getsman dgetsman at amirehab.net
Wed May 21 17:19:56 EDT 2008


In my opinion, with the previous experience that you have in coding
that you've mentioned, you're probably better off if you minimize the
amount of new syntaxes you'll have to pick up.  Standard technique for
what you're trying to accomplish is more often than not Apache with
the PHP and MySQL support built in.  PHP has great support for
accessing a MySQL database, which is where the script would store and
load your entries (and/or other applicable data) from.  Then again,
you are really learning HTML, PHP, and MySQL at the same time, which
can be a pain in the ass.  There are some excellent books by O'Reilly
and Associates on just that subject, though.  They combine the PHP &
MySQL into one book that'll get you started and able to handle that
kind of task really quick.  The HTML syntax is going to be separate,
wherever you go.  It'll be simple if you want it dumping text to the
screen, and a pain in the ass if you want pretty formatting with
designs and text that lays out just in a certain area.

My suggestion, if you want to keep that gray meat sparking, is to go
with only html & php.  You could have the php dumping your entries
into date/time named textfiles on there when you're writing, and when
someone is reading, it just orders them sequentially by the date &
time in their filenames.

Then again, you learn the HTML+PHP+MySQL thing and you've got a skill
that you can market on Craigslist to a bunch of people for $20/hr
+.  :)

<a href="http://unix.derkeiler.com/Newsgroups/comp.sys.sun.apps/
2008-04/msg00000.html">
-Damon A. Getsman
Linux/Solaris Systems Administrator
</a>



More information about the Python-list mailing list