I've been trying to figure out what the best process is for developing extensions and wondered if anyone had any suggestions.
So far how I've seemed to work it is that I have a testing install of Joomla. I develop my extension inside that install of Joomla. But then from that point I'm not sure where to go. If I want to install it on any other projects then I have to create a new install file each time. Or I just have to manually install it.
Ideally I'm looking to see if there is an easy way to make changes then have an installer file created.
Any thoughts? What is your process?
Best process for developing extensions (components, modules, plugins)?
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
- samtherobot
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Dec 05, 2005 11:57 pm
- Location: London, Ontario
- Contact:
Re: Best process for developing extensions (components, modules, plugins)?
The easiest way to do it is to keep the install file somewhat general...
This is easy with 1.5's new folder tag, where you can specify that a folder be copied instead of just individual files.
Ian
This is easy with 1.5's new folder tag, where you can specify that a folder be copied instead of just individual files.
Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!
Re: Best process for developing extensions (components, modules, plugins)?
Hi,
Ian, could you give an example on how to use this "folder" tag ? I know we can know specify a folder where to retrieve a list of specified files, but we still have to specify each file in the tag. You seem to say that we can just specify a folder... If this is the cse, will it import the whole subtree too ?
Maybe update the wiki page here: http://dev.joomla.org/component/option, ... stallfile/
Thanks in advance,
Julien
Ian, could you give an example on how to use this "folder" tag ? I know we can know specify a folder where to retrieve a list of specified files, but we still have to specify each file in the
Maybe update the wiki page here: http://dev.joomla.org/component/option, ... stallfile/
Thanks in advance,
Julien
Re: Best process for developing extensions (components, modules, plugins)?
Autoreply, after browsing the API code and testing myself ..
the "folder" tag can be used like this:
and yes, it is recursive, so all content of controllers, models, etc... folders will be copied too.
Maybe it would be worth updating the wiki !
the "folder" tag can be used like this:
Code: Select all
<!-- Site Main File Copy Section -->
<files>
<filename>index.html</filename>
<filename>test.php</filename>
<folder>controllers</folder>
<folder>models</folder>
<folder>tables</folder>
<folder>views</folder>
</files>
</files>
and yes, it is recursive, so all content of controllers, models, etc... folders will be copied too.
Maybe it would be worth updating the wiki !