freezer
freezer

Reputation: 541

best way of writing a component for joomla 2.5

I wonder that what is the best way of writing a component for joomla 2.5 since there is many method to do that. I looked for some component which are already done this is confusing to see many ways. Which is more comfortable JForms base controller and model classes. I want to make a component which should have forms on front-end to publish some notifications or ads by users or membership registration fields on front-end also. Thanks for reading.

Upvotes: 3

Views: 5365

Answers (1)

user1416258
user1416258

Reputation:

I believe 'the proper way' to create a component in Joomla 2.5 is to use the MVC approach as defined by the joomla wiki tutorial found here. In reality, however, not everyone has the time or the smarts to do things 'the proper way.' From the many components and modules I've downloaded / purchased from the market place, I've yet to see two different developers implement things the 'same' way. For fear of getting OT and philosophical about programming, here is a bit of guidance I've used so far:

From a recent Joomla meetup focused on creating a component from scratch. Here are the slides and downloads if you want to review them.

http://www.tamlyncreative.com.au/software/howtocreatejoomlacomponent.zip

http://www.slideshare.net/TimPlummer/

Something you might want to look into that's recently come to my attention is called Fabrik. Think of it as Joomla's answer to RoR.

http://fabrikar.com/

Upvotes: 5

Related Questions