Login   Register  
PHP Classes
elePHPant
Icontem

Call for examples, please - TM::MyCSV package blog

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All package blogs All package blogs   TM::MyCSV TM::MyCSV   Blog TM::MyCSV package blog   RSS 1.0 feed RSS 2.0 feed   Blog Call for examples, pl...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author: Thiemo Mättig

Posted on:

Package: TM::MyCSV

I added an example and I'm looking for more ideas.




I noticed the fact that my TM::MyCSV class was missing an example script. I think this is a very important part of a good PHP Classes package. There are already some small examples included in the documentation. But you can not start to play around with these examples "out of the box". You need to read a lot and understand most of the basic concepts. And believe me, there is a lot to learn. The class is very simple but can do very complex things.

With the new example script you can start without reading anything. Simply copy all files to your web server. Here is what you can do with the script: Insert new rows to a table (including creation of the CSV file if it does not exist), delete existing rows and sort the rows by different columns in ascending or descending order. There are a lot more comments included in the script.

Besides the administrator class, which is also some kind of example, this is the first example here at PHP Classes. Now tell me: What would you like to see next? More small examples? Another complex one? How to use the limit feature for pagination? How to use the callback interface of the administrator class to create your own administrator panel for your TM::MyCSV based photo blog (like http://fotos.maettig.com) or movie database (like http://roman.maettig.com)? There are many possibilities.

You need to be a registered user or login to post a comment

1,282,072 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

Facebook ConnectGmail or other Google Account
Hotmail or Microsoft Windows LiveStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.




  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   TM::MyCSV TM::MyCSV   Blog TM::MyCSV package blog   RSS 1.0 feed RSS 2.0 feed   Blog Call for examples, pl...