What's up with downloading a customized build of Infusion?
jacob.farber at utoronto.ca
Tue May 5 14:18:31 UTC 2009
Laurel and I are working on the custom Infusion build experience, and we've started to make some headway.
Now that Michelle has built the infrastructure for customized builds, we've started to this about how the experience should play out, and how the backend/frontend should communicate to generate a build. Some examples of this kind of functionality can be found at jQuery UI's download page<http://jqueryui.com/download> and Mootools' download page<http://mootools.net/core>. One tricky part we're finding is how to process the commands we need to generate a build with Ant.
The current workflow is looking like this:
1. PHP parses the build.properties and the JSON dependencies files to fetch and generate a list of modules and their dependencies
2. Form will POST to the server (running php) a list of selected modules
3. Form processor will then deduce the exclusion list from the inclusion list
4. If some dependencies are found to be in the exclusion list, we POST back a warning on the form about each missing dependency, asking the user to confirm their desire not to include them
5. Upon confirmation, we (remember these settings ? and) communication will be POSTed back to the server where (Ant? Phing? Something else?) will process the data and return a (file? Path to a file?)
(Please note we're hoping to create an Infusion component to cover some of this workflow, so the experience becomes even smoother).
As you can see, there are gaps to fill here. Any ideas and feedback to this process will be very much appreciated! Particularly, how PHP could fire a shell script or execute a command line instruction.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fluid-work