New to joomla coding - need tips for extension development
Posted: Wed Feb 27, 2008 1:31 pm
Hey all,
This is my very first contact with joomla, hope this is a fun and interesting coding experience.
I am an experienced PHP developer and I need to develop a simple extension ( not quite sure if this is the correct name ) to joomla! I must confess I always go to minimalist solutions so joomla is has quite the oposite filosophy i usually folow, but hey, this is just my opportunity to prove myself there are other ways.
Ok, enough of cheap talk...
I went straight ahead to the docs (very good documentation i should say) but joomla appears to be quite complex and extense so I thought i should make a few questions to find out what docs to read and what approach to follow.
I gave a quick look at the documentation wiki and apparently there are a few different choices for extension development:
modules, plugins, components, maybe others...
From what i understood joomla has its own built in mvc framework that can be used to write modules... right? That can be the solution for me.
Now the questions....
I need to create a data type, basically a structure. Typically this would be an entity with it's own database table, etc.
Then i need to create a view to display a single row, a view to list the existent entries and backend with CRUD forms.
This should be a section of a site, to the rest of the site the regular out-of-the-box joomla publishing purpose will serve.
Whatever views (or ouput of any kind) I use should be able o be rendered smoothly with the rest of the site.
What's the best (possible) way to approach this?
Should i go for a module, plugin, component?
Will i need to add a table to the database or does joomla already has some way to create my own datatypes whith several fields?
Please try to illustrate your answers with links to the documentation if possible.
Thanks in advance
This is my very first contact with joomla, hope this is a fun and interesting coding experience.
I am an experienced PHP developer and I need to develop a simple extension ( not quite sure if this is the correct name ) to joomla! I must confess I always go to minimalist solutions so joomla is has quite the oposite filosophy i usually folow, but hey, this is just my opportunity to prove myself there are other ways.
Ok, enough of cheap talk...
I went straight ahead to the docs (very good documentation i should say) but joomla appears to be quite complex and extense so I thought i should make a few questions to find out what docs to read and what approach to follow.
I gave a quick look at the documentation wiki and apparently there are a few different choices for extension development:
modules, plugins, components, maybe others...
From what i understood joomla has its own built in mvc framework that can be used to write modules... right? That can be the solution for me.
Now the questions....
I need to create a data type, basically a structure. Typically this would be an entity with it's own database table, etc.
Then i need to create a view to display a single row, a view to list the existent entries and backend with CRUD forms.
This should be a section of a site, to the rest of the site the regular out-of-the-box joomla publishing purpose will serve.
Whatever views (or ouput of any kind) I use should be able o be rendered smoothly with the rest of the site.
What's the best (possible) way to approach this?
Should i go for a module, plugin, component?
Will i need to add a table to the database or does joomla already has some way to create my own datatypes whith several fields?
Please try to illustrate your answers with links to the documentation if possible.
Thanks in advance