Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cabbit

macrumors 68020
Original poster
Jan 30, 2006
2,128
1
Scotland
cabbit_logo.png

Cabbit Framework

Ok for anyone interested my Cabbit Framework is free for all here, there have been a few lovely folks i have met over the last year that have donated code and such which i have rewritten and cobbled together.

This is intended as a preview only and is under heavy development.
I would love to hear of any bug fixes, suggestions, comments, critics, other 3rd party classes you have to donate.

The process of donating a 3rd party class is that if it becomes a library class it has the heading like the rest with a optional source_licence_endorcement_thanks.txt file in the folder to attribute work.

The framework base started out as a tutorial that is no longer in my bookmarks so once i find it i would like to put in a link.


There are some things i would love to know how to do like writing a error log file. So if you have any links to helpful tutorials please post them here.

Also my old college lecturer is guiding me though the process of writing a generator script with the UNIX Bourne Shell so that will be interesting.

And i am in the middle of shoe horning in Jacques Fuentes Active Record class at the moment for the models, well i have not even started yet it looks kinda daunting.

One of the important processes i go with when a 3rd party class is offered is to assimilate, evaluate, then rewrite to understand it fully, this is still a learning project primarily and i am hoping to learn as much as i can from both the code i write and that others provide.
 
Hmm documentation would be a good start.

Well lets see, i'll write some documentation for the simplest site first then once the active record is working i'll write documentation for a data driven site.

Check back soon, i had never fought of writing any documentation.
 
I like your logo.

I wouldn't mind getting involved in development. I'm getting involved in several open source projects around the web so I'd be happy to lend a helping hand. As mentioned above, let's start with some documentation and go from there. Possibly setup bug-tracking, wiki, google code (or other repository) to allow users to check-out the source and modify into a branch.
 
My next big task is getting http://www.phpactiverecord.org/ i have permission from the author to integrate this into Cabbit and its already in the file structure just don't know yet how to hook it up.

I do know i need to change some defaults as it currently extends ActiveRecord\Model, where i would like it to well be more Cabbit i guess its just silly but it makes sense when you look at say a Zend model.
 
Good job. I would suggest you host the source code on a source code site such as Google Code or Github and make sure to use a source code control system (depending on which one is supported on the site you choose). This will mean other developers will actually bother contributing code back to the project.

I don't do PHP development but it is always good seeing people from MR releasing stuff :). Good luck.
 
Ok so what are these code repository things?
How do i post my Cabbit on one?
And can they integrate with netbeans so i press a button and hey presto sub versioning and code is synced?
 
I haven't created a Google Code project, but use one. Creating it is simple and uses either Mercurial or Subversion for version control. It should work with NetBeans since it's a normal SVN type setup. I haven't used Github, but it looks promising too.
 
Seems the new toy i was wanting to integrate is a no go.
The PHP Active Record class uses Namespace and perhaps other PHP 5.3 functions. I don't know of any web hosts that support this just yet nor does my local mamp installation.
 
Well for github i have it set up kinda here http://github.com/Cabbit/Cabbit-Framework

But when i try to git push origin master i get a horrid error message.

ssh: Could not resolve hostname gitbub.com: nodename nor servname provided, or not known
fatal: The remote end hung up unexpectedly

I'm going to go out on a limb here and say your ssh failed because you mispelled github.com
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.