Extensions and addons

Discuss how you use PHP Point Of Sale and your experiences.

Extensions and addons

Postby psydone » Wed Feb 24, 2010 8:35 pm

Hey
I'm currently trying to find a decent POS system for a club, the club sells both products/items aswell as memberships (think of memberships as items with expiry and renew expiry time functions. I was thinking of adding a module/extension to phppos. Is there any doco or way of doing this without messing with the base code your using?
psydone
 
Posts: 3
Joined: Wed Feb 24, 2010 8:30 pm

Re: Extensions and addons

Postby blasto333 » Thu Feb 25, 2010 8:28 am

There is no documentation but the codebase is written using a framework called CodeIgnitor which has great documentation.

http://codeigniter.com/user_guide/
blasto333
Site Admin
 
Posts: 130
Joined: Tue Dec 01, 2009 7:34 am

Re: Extensions and addons

Postby psydone » Thu Feb 25, 2010 8:08 pm

Hey blasto, thanks I had a look but what I was more after was a pluggable reference guide or something like that. Generally the success of these projects depends on how one can extend the system to make it work for them, ala joomla, drupal, magento. Basically people should be able to throw on modules they would like and not ones they don't.

My example case I'm looking to sell services/time so a time module that extends the item functions but still works in the ecosystem of everything else would be great to just copy into a folder, enable it somewhere and hey presto.

Through the night since my previous post I've managed to create a pseudo module called timeitems, by copying the items controllers, views and lang files and making a few extensions in the config files to include this section. The next step is to finish writing it and extend some reports aswell as the checkout features. Once all thats done I might try making it easily importable and release it for everyone else. By doing this I should be able to document it all so that others could come up with similar extensions and also understand how its all fits together.
psydone
 
Posts: 3
Joined: Wed Feb 24, 2010 8:30 pm

Re: Extensions and addons

Postby blasto333 » Fri Feb 26, 2010 7:52 am

I tried to design it in a way that modules can be created. If you want to document this process, it would be great if you could throw it in the wiki.

http://wiki.phppointofsale.com/
blasto333
Site Admin
 
Posts: 130
Joined: Tue Dec 01, 2009 7:34 am


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests