Reusable PHP Components
- Menu
- About
- Installation
About
The following introduction is the closest thing to a 15 minutes screencast you'll find around here.
RPC is somewhat of a (incomplete) framework. It uses the MVC pattern and it was influenced by the Zend Framework.
As most other PHP frameworks, it is the product of frustration and boredom. Also, it very well fits my development style, it has it's own (read that "my own") coding standards and it's code base will change frequently.
Ok, hope you liked it, after all I saved you 14 minutes :) Seriously speaking though, I'm yet to see a screencast which said more than what I've said above, although they surely did try to put it more mildly.
Installation
First, the requirements: latest PHP version. I always develop on the latest stable and when I break that rule it's because I'm working with the latest beta or release candidate. This is because PHP's code base also changes frequently, new (long-awaited) features are added and bugs are fixed (while introducing others).
Other than the above, all you need is a SVN client (for Windows I recommend TortoiseSVN and for Unix the command line client). If I get any request, I will make an archive available at all times with the latest commit.
To get the framework and be able to update it easily you need to do a
checkout of the repository:
svn checkout svn://svn.lastdot.org/adrian/repository/PHP/RPC/trunk
Each time you want to update you have to issue:
svn update RPC
If you want to simply download the framework and not have the .svn
directories or if you know you will not need to update frequently (for
example just before deploying the project), you can export the trunk:
svn export svn://svn.lastdot.org/adrian/repository/PHP/RPC/trunk
In case you need to use the framework for multiple projects on the same machine, I recommed you checkout (or export) in a general lib directory, external to all projects and include the framework from that directory. This way you will have to update only a single repository when you want to update your local copy.