Welcome Guest, Not a member yet? Register   Sign In
CI Build Tools thanks to PAKE with propel ORM integration.
#1

[eluser]icomefromthenet[/eluser]
Project UserGuide : http://www.icomefromthenet.net/php/index.xhtml

DOWNLOAD : http://www.icomefromthenet.net/php/buildProjectl.zip

Let’s face it Codeigniter is a fantastic framework when you are working on a single site, single server. Scaling up becomes a real challenge after your third or fourth new deployment. Whats a deployment? A deployment is a destination, which can have unique settings, combinations of database connections , language and configuration differences.

CI build is a tool to help deploy your application quickly it understands each deployment is a little different this tool will help you remove your config/language/hooks into a better place.

This project is for you if your looking for :


Integration with Propel ORM.
Have multiple Deployments.
Really Hate clearing Cache / Log folders by hand.
Remove Unit test files in one command.
Want to deploy project using Rsync.

Why not just use Phing.
Good point , Phing is a complex beast Pake tool is just php which gives this a much lower barrier of entry and easier for your to customize your own tasks.

3 Command Demo
After you setup your project you be able to do the following when you boss tells you the new client wants to call its ‘users’ – ‘clients’ instead. (time to change those language files).

Step 1. Clone a deployment
Code:
project_dir/lib/pake$ php pake deployment-new annoying_client base-deployment
Step 2. Change the language files in the new deployment an rebuild
Code:
project_dir/lib/pake$ php pake rebuild annoying_client
Step 3. Deploy to test server
Code:
project_dir/lib/pake$ php pake deploy test-server
Step 4. Show boss Demo
Code:
good job johnson!!!

User Guide here: (included in download) http://www.icomefromthenet.net/php/index.xhtml.

Is this production ready?
Well no, I would never trust a build system that I didn’t understand I wrote it I understand it I am using it now for my own projects. If you want to use it please backup your files first.

If your project is reaching the complexity of needing a deployment management and build tool or two step deployment appeals to you or you want propel in your next project or Phing is just a bridget too far. This system is a good place to start.

My key request is that you backup your files before importing a project.

Included Libraries
This work could not have come around without the code others have provided, Details on included code can be found here.




Theme © iAndrew 2016 - Forum software by © MyBB