Page 1 of 1

To start component development…

Posted: Mon Aug 27, 2007 11:19 am
by jserver
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 ;)

Re: To start component development…

Posted: Mon Aug 27, 2007 12:28 pm
by MvBrakel
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!!

Re: To start component development…

Posted: Mon Aug 27, 2007 4:23 pm
by jserver
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

Re: To start component development…

Posted: Mon Aug 27, 2007 9:18 pm
by uweD
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

Re: To start component development…

Posted: Tue Aug 28, 2007 6:14 am
by MvBrakel
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.