Easy Calendar Applications
Mark Musone
One of the latest crazes on the 'net has recently been online calendars.
with the MCAL library and PHP,
writing calendar applications is now
easy and fully functional. The MCAL library is very similar to the c-client IMAP
library. It offers a common simple interface for accessing calendars that can be stored in
many different formats, both local and remote formats are supported.
In this tutorial, we will use the mstore calendar driver. The mstore calendar driver uses
a local file storage format. Another driver that can be used is the ICAP driver,
which allows access to remote calendar stores.
One things that makes the MCAL library very different than other libraries is that it
does not just handle "simple" calendaring. It is a feature rich calendaring library that
handles dates from year 1 to year 9999, incorporating the Gregorian calendar and extrapolating
back. This calendaring obviously contains events and many event objects. (It essentially uses
icalendar objects and properties).
Read More.
PHP, MySQL and images
William Samplonius
Joe's used auto sales, an average sized car yard of around 150 cars has decided to make
the big leap into the new millennium. First of all they had to get themselves a nice new
computer, with that new computer came the "Internet". After a few weeks of searching the
internet they decided to go all out, now they wanted a web site of their own. And it
just so happens that Joe's good friend knows a little HTML, three days later
Joe's used auto sales was online and ready for business.
It wasn't long before they realized they were not going to get very far with that site.
They needed something where they could add, modify and delete listings in a database.
Well, to make a long story short they ended up contacting me. And of course I said I
could do it. So, that day I had to find out what type of database to use. After asking a
few questions I decided to create a database using PHP and MySQL.
Read More.
HTML_Graphs
Tim Perdue
When I compiled PHP on my LinuxPPC box, I didn't have GD installed and
didn't want to add another layer of complexity by compiling it in. GD
will let you do all kinds of cool things - creating gifs, complex charts, etc,
if you use libraries from the Sample Code Archive here on this site and PHP's
built in functionality.
I didn't want the lack of GD to stifle me too much, so I started hunting around
for a way to generate html-based graphs and charts. Fortunately, someone
had already gone to the trouble of writing up a class to handle that.
Phil Davis at WebGuys
provided a nifty class called HTML_Graphs.
At first, I was a little taken back by the complexity of the class. It does
all kinds of things, from vertical bar charts to multiple horizontal bar charts.
Because I knew I was going to use the class a lot, I spent some time creating a
couple of wrapper functions.
Read More.