CodeXplorer is a project repository - everything that I build for the world is released for free here under the GPL v3. PHP Systems, XHTML Themes, and other web related creations have their home here where I can easily control Subverion updates.
To browse my projects click on a tab below. If you use windows I recommend the Tortoise SVN client to keep track of my commits. If you use Linux I don't need to recommend anything to you.
Please be aware that my SVN repository is more up-to-date than any of the file downloads.
If you have code suggestions or comments, please drop
me a line at David .= '@' . $this->site;. I like to know that people
are using my creations. Other than that you can ask for
help in the Forum.
After looking over the current PHP Akismet API classes I couldn't help but notice they all used fopen() to talk with akismet. Which (besides being slow) is disabled on some hosts that have "safe mode" on. This class solves that problem by using the fast cURL php extension available on most web hosts. This class is simply the smallest and easiest Akismet Class there is.
The core CI_Hooks class of the CodeIgniter Framework only gives 8 hooks for developers to use. With this update to the class you can extend it to provide your own hooks anywhere you want within your own controllers, models, libraries, helpers, or views. In all truth, I think it is the one thing that has been missing from CI.
This Class gives team projects what they need to allow different things to "plugin" to the system in the same way the core hooks allows developers to alter the way CI runs. One example would be to design a comment system and then call a hook to format the comment. Then BBCode, Markdown, HTML, or anything else could be added at a whim without need for altering the code.
This class extends the PDO object to provide DB abstraction - a simple way to query different types of databases without needing to change your code.
PDO provides a data-access abstraction layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility. - php.net
However PDO does not cover DB query-abstraction - for that you have to use some huge class like ADOdb or PEAR:DB. Which of course will slow your site to a crawl if you are using shared hosting.
This class fills this gap and provides DB query-abstraction for common functions like SELECT, REPLACE, INSERT, UPDATE, and DELETE queries. The actual PDO object is not changed in anyway - each of these functions still returns a PDO Statement Object.
The total package size is only 18kb! And that is with LOTS of comments explaining the code! It is the missing link for people who love the DATA abstraction PDO provides but also need QUERY abstraction.
Currently it only works on SQLite2-3 and MySQL. However because it is built for the SQL langauge - it will be supper simple to add PostgreSQL or MSSQL support as well (copy mysql class and change 3-5 functions). I just don't have a copy of either DB up and running to test it.
I needed a twitter class for a project I was doing. There were several out there - but none of them were complete or even coded properly.
As an avid OO Designer I built a new class from the ground up to perfectly match the Twitter API using PHP 5. I am a perfectionist so I couldn't stand excess code, the lack of comments, and missing API functionality.
This class is the best API class out there - it can handle XML and JSON requests/responses from the standard API and the new Trends and Search API's as well. Calls are made with the powerful cURL library. Results are returned as an easy to use object.
Subversion is just another way to make simple file downloading complex -right? I know, that is what I thought, "just give me the stupid zip". I didn't want or need to figure out yet another protocol just to access files. However, if you don't know how to use SVN you really need to learn.
Subversion (SVN) is a version control system ... used to maintain current and historical versions of files such as source code, web pages, and documentation. - Wikipedia
Having an understanding of how to download files from a SVN system will allow you to watch and track each and every change that takes place. Every time I capitalize a letter or add a new function you will know. You will be able to see (side-by-side) the changed code from one reversion to another.
$ svn checkout http://svn.codexplorer.com/