Post by ptelang » Wed Jul 10, 2013 6:55 pm

There needs to be a document for creating OpenCart Extensions. A sort of steps you need to follow, and things to consider when creating a well-structured OC plugin.
Currently developers are developing OC extensions with varied structures .

Your thoughts please.

Prashant Telang
http://www.transpacific-software.com
P.S.: We would be happy to contribute our resources if a group of developers decide to create such guidelines

TransPacific Software
OpenCart Developers
http://www.transpacific-software.com/opencart.php


New member

Posts

Joined
Wed Sep 12, 2012 7:35 pm

Post by pedro1993 » Wed Jul 10, 2013 7:04 pm

I disagree. There is now a Wiki documentation which can easily be found from the main website:
http://docs.opencart.com
As well as a post written by Qphoria
OpenCart 1.x framework explanation

Bad and messy coding/extensions come down to a lack of knowledge or understanding from the developer. I would say OpenCart has a very good group of developers here!

Peter

For professional OpenCart, HTML/CSS & PHP/MySQL support feel free to PM me :)
Click here for my extentions
Did I help you? Donate here to show support
Follow me on Twitter!
Catch me on Facebook!
Watch YouTube OpenCart Tutorials and Extension Demos

Image


User avatar
Active Member

Posts

Joined
Tue Oct 18, 2011 4:31 am
Location - Glasgow, Scotland

Post by ptelang » Wed Jul 10, 2013 7:37 pm

These are generic documents on OpenCart I don’t see any document on OpenCart Extension development/structure guideline . Something like WP and Magento has.
We install atleast 20-25 Extensions per week for our clients. Most of these extensions are developed in a haphazard manner. No folder structure , no proper naming conventions etc.

Prashant Telang

TransPacific Software
OpenCart Developers
http://www.transpacific-software.com/opencart.php


New member

Posts

Joined
Wed Sep 12, 2012 7:35 pm

Post by pedro1993 » Wed Jul 10, 2013 8:42 pm

I don't understand.

Here is the developer guide. It is not a "generic" guide, it is for developers to use:
http://docs.opencart.com/display/openca ... oper+guide

Also, OpenCart is built on PHP so there is no need for a full in-depth documentation. The documentation covers how to create modules, build custom controllers and link languages, models and views to them.That pretty much covers the basics of OpenCart.

The only thing I think OpenCart could help developers with is to provide an up-to-date documentation on its libraries and what they are capable of.

Perhaps the developers you are using have simply not read the OpenCart documentation, which nobody can really help.

Peter
ptelang wrote:These are generic documents on OpenCart I don’t see any document on OpenCart Extension development/structure guideline . Something like WP and Magento has.
We install atleast 20-25 Extensions per week for our clients. Most of these extensions are developed in a haphazard manner. No folder structure , no proper naming conventions etc.

Prashant Telang

For professional OpenCart, HTML/CSS & PHP/MySQL support feel free to PM me :)
Click here for my extentions
Did I help you? Donate here to show support
Follow me on Twitter!
Catch me on Facebook!
Watch YouTube OpenCart Tutorials and Extension Demos

Image


User avatar
Active Member

Posts

Joined
Tue Oct 18, 2011 4:31 am
Location - Glasgow, Scotland

Post by ptelang » Thu Jul 11, 2013 10:18 am

I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin

TransPacific Software
OpenCart Developers
http://www.transpacific-software.com/opencart.php


New member

Posts

Joined
Wed Sep 12, 2012 7:35 pm

Post by trinkaljuneja » Thu Jul 11, 2013 3:52 pm

ptelang wrote:I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin
i think you are also a developer and promoting yourself on various groups and forum as opencart professional service provider (you can also user freelancer types website instead)

why don't you write yourself (for free this time ) ^-^

A coder by Hobby and Developer by Profession

Images in Manufacture
http://www.opencart.com/index.php?route ... on_id=6943
Description and images in Manufacture
http://www.opencart.com/index.php?route ... on_id=6978

http://codertj.com


New member

Posts

Joined
Tue Aug 23, 2011 9:08 pm

Post by pedro1993 » Thu Jul 11, 2013 6:55 pm

And I am referring to this:
http://docs.opencart.com/display/openca ... controller

it teaches you enough to be able to create a custom page in OpenCart.
ptelang wrote:I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin

For professional OpenCart, HTML/CSS & PHP/MySQL support feel free to PM me :)
Click here for my extentions
Did I help you? Donate here to show support
Follow me on Twitter!
Catch me on Facebook!
Watch YouTube OpenCart Tutorials and Extension Demos

Image


User avatar
Active Member

Posts

Joined
Tue Oct 18, 2011 4:31 am
Location - Glasgow, Scotland

Post by ptelang » Thu Jul 11, 2013 9:40 pm

trinkaljuneja wrote:
ptelang wrote:I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin
i think you are also a developer and promoting yourself on various groups and forum as opencart professional service provider (you can also user freelancer types website instead)

why don't you write yourself (for free this time ) ^-^

Instead of these irrelevant comments ; I expected you to give some suggestions on how to streamline the structure of extensions

TransPacific Software
OpenCart Developers
http://www.transpacific-software.com/opencart.php


New member

Posts

Joined
Wed Sep 12, 2012 7:35 pm

Post by ptelang » Thu Jul 11, 2013 9:54 pm

pedro1993 wrote:And I am referring to this:
http://docs.opencart.com/display/openca ... controller

it teaches you enough to be able to create a custom page in OpenCart.
ptelang wrote:I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin
I am not talking about " how to create extensions" I am referring to a rule book on how to have extension well structured. What naming conventions it should have , what folder structures ...etc

TransPacific Software
OpenCart Developers
http://www.transpacific-software.com/opencart.php


New member

Posts

Joined
Wed Sep 12, 2012 7:35 pm

Post by pedro1993 » Fri Jul 12, 2013 5:57 pm

I have been thinking of writing a long tutorial in how to build an extension. That could perhaps help new developers to build there own stuff!
ptelang wrote:
pedro1993 wrote:And I am referring to this:
http://docs.opencart.com/display/openca ... controller

it teaches you enough to be able to create a custom page in OpenCart.
ptelang wrote:I am referring to document on plugin/extension something similar to
https://codex.wordpress.org/Writing_a_Plugin
I am not talking about " how to create extensions" I am referring to a rule book on how to have extension well structured. What naming conventions it should have , what folder structures ...etc

For professional OpenCart, HTML/CSS & PHP/MySQL support feel free to PM me :)
Click here for my extentions
Did I help you? Donate here to show support
Follow me on Twitter!
Catch me on Facebook!
Watch YouTube OpenCart Tutorials and Extension Demos

Image


User avatar
Active Member

Posts

Joined
Tue Oct 18, 2011 4:31 am
Location - Glasgow, Scotland
Who is online

Users browsing this forum: No registered users and 9 guests