-
Notifications
You must be signed in to change notification settings - Fork 81
Tutorial Extension_Provider_Part5
Mark Drew edited this page Jul 19, 2013
·
1 revision
Back to Main Extension Provider Tutorial
We have completely built an extension from scratch and created the form to enter the data and validate it with the help of the install.cfc methods. The install method in there finally installs the application. In order to work quite fast when creating an etension there are a couple of things that might help.
- When you install an extension it will be installed into the following folder: WEB-INF/railo/extensions/hashvalueoftheprovider/extensionname/version.rep You can convert the existing .rep file into a zip (or associate .rep with a zip program, why this is a good thing, see Tip 3). Then you can have a look at any extension you have installed on your system.
- When an extension is installed this .rep file is downloaded and the files in there are invoked for every kind of step. Remember that the file gets deleted as soon as you uninstall the application.
- When you associate the .rep extension with a unzip folder (so that you can enter it) you can edit files directly in there so that you do not need to upload your complete extension to the extension manager and do the install process all over again. Since Railo uses this .rep if it is available, you can easily exchange the files in there for development.
- Please note thate if the .rep file is in the corresponding extension folder it will not be downloaded over and over again
- If the uninstaller throws an error the installation will be removed from the list of the installed applications, but you have to clean up the leftovers yourself. That's why it is always advisable to deeply test the uninstaller. Even though Laura Arguello (author of Mango) said, and I quote here: "Why would someone want to uninstall Mango?"
Now... Have fun building your own extensions!
- Getting to know Railo Server
- Railo Server features & specifications
- Getting started with Railo Server
- Installation & configuration
- Railo Server Versions
- Developing with Railo Server
- Deploying Railo Server apps
- Managing Railo Server apps
- Railo Server Extensions
- Useful resources & further reading
- Developing & debugging Railo Server
- FAQs