Community Forums

Does the Framework Documentation exist?

Coding, discussion and suggestions for OpenCart v0.x development

Does the Framework Documentation exist?

Postby msionov » Thu Sep 18, 2008 1:12 pm

Is there any documentation on the whole opencart framework?
I'm new at this and trying to figure out how the whole framework works so I can write my own modules.
msionov
 
Posts: 3
Joined: Wed Sep 17, 2008 6:40 pm

Re: Does the Framework Documentation exist?

Postby Qphoria » Thu Sep 18, 2008 1:30 pm

The framework is based on the MVC concept. So the structure is:

In catalog:
controller/xxx.php
language/english/controller/xxx.php
template/default/content/xxx.php

Additional dcumentation is not there yet but is planned for the future when OpenCart reaches that 1.0 mark. For now, take a look at some of the community created contributions on the http://www.opencart.com/contribution page to get some examples of how to create them.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18200
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Does the Framework Documentation exist?

Postby randomfactor » Wed Sep 24, 2008 8:45 am

Since OpenCart is already a google code project and the Wiki page http://code.google.com/p/open-cart/w/list is empty, would it make sense to begin creating some documentation of the internal structure of OpenCart there?

But, it might be better if there were a separate google code project just for the internal program structure.  This would make it possible for you allow anyone who would like to contribute to the documentation to sign up as a project member.  It could be named something like "open-cart-doc-internal".

If such a thing had existed, it would have saved me hours (possibly days?) of development time.  If you create it now, it might save the author of the next killer OpenCart contribution a lot of time, too.

I envision an initial wiki page structure something like this:

  • OpenCart Overview
    • Controllers
    • Templates
    • Modules
    • Languages
    • Library
      • Locator
      • Cart
      • Database
      • Request, Response, and Session
    • Extensions
      • Module
      • Calculate
      • Payment
      • Shipping
Last edited by randomfactor on Wed Sep 24, 2008 8:53 am, edited 1 time in total.
randomfactor
 
Posts: 40
Joined: Sun Jul 06, 2008 5:43 pm

Re: Does the Framework Documentation exist?

Postby Qphoria » Wed Sep 24, 2008 10:47 am

The structure is changing in 0.8, and the plan is for that structure to be the final framework design for future versions. So we are waiting for that to be released before adding documentation.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18200
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

Hosted by Arvixe Web Hosting