To start component development…

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
jserver
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Aug 07, 2007 5:53 pm
Location: India
Contact:

To start component development…

Post by jserver » Mon Aug 27, 2007 11:19 am

Hi!
I am starting development a small component,
Before start I have some questions. ???
I am trying to develop the component for 1.5 yet I read development manual for component 1.0.. :-\

1. what are the files mainly require to develop a component. :)
2. requirement for xml file to insert query to install any component ;)
Sukalyan Banga

MvBrakel
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Aug 27, 2007 7:40 am

Re: To start component development…

Post by MvBrakel » Mon Aug 27, 2007 12:28 pm

Jserver,

This depends on the scope of your component. There are several ways in which you can build your component.
For realy small components the structure simular to J! 1.0.x can be used. For bigger components, its recommended to use the model/view/controller priciple.

A small component would be a component with only one main object. Like shoutbox. The only thing is a shout object.

A big component would be something like a reservations component. Where you have multitple objects like reservation, restaurant and maybee comments.

But also when you are planning to start with a small component, wanting to expand it in time. It might be best to start with model.view/controller.


Having said the above, you can check out: http://dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,tutorials:components/
Chapter 1 contains the component code. Where the First 5 tutorials are for small components, and the second 4 (with MVC) are for big components. Chapter 2 will explain the install xml.

I hope this was usefull for you. And good luck with the component!!

jserver
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Aug 07, 2007 5:53 pm
Location: India
Contact:

Re: To start component development…

Post by jserver » Mon Aug 27, 2007 4:23 pm

Thanks a lot,  :)
It's truly helpful then earlier that I found at http://help.joomla.org/,

But again another thing that I need to point out here
it's this link: http://dev.joomla.org/component/option, ... omponents/
is not directly available from  http://dev.joomla.org/

or, It's available but I am not able to point this.

Thanks again
Sukalyan Banga

User avatar
uweD
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Mon May 14, 2007 9:38 pm
Location: Auckland -- New Zealand
Contact:

Re: To start component development…

Post by uweD » Mon Aug 27, 2007 9:18 pm

Hi Jserver,

A book which I can recommend is 'Learning Joomla!1.5 Extension Development. It is not perfect and maybe a little dated but still is a good recourse for beginners. You can by the ebook version at apres.

Chhers,
Uwe
________________________
Uwe Duesing
http://www.uweduesing.com
Skype:uweOnehunga

MvBrakel
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Aug 27, 2007 7:40 am

Re: To start component development…

Post by MvBrakel » Tue Aug 28, 2007 6:14 am

Indeed nice book. I got it myself too and it gave me some nice tips and advice.

Noticed some outdated stuff though like admin toolbar icons.


Post Reply