Mozilla2:Improving Development Environment: Difference between revisions

no edit summary
No edit summary
Line 30: Line 30:
=== No simple option ===
=== No simple option ===


*<b>Description</b>
====Description====
Currently, the requirements for setting up the project are very elaborate.  
Currently, the requirements for setting up the project are very elaborate.  
There are too many boiler-plate items on the check list that have to be successfully completed.  
There are too many boiler-plate items on the check list that have to be successfully completed.  
All of which can be assumed (see Ruby on Rails philosophy) but are potential blockers for new developers who silently pass up XUL because it looked like a lot of unnecessary pain.
All of which can be assumed (see Ruby on Rails philosophy) but are potential blockers for new developers who silently pass up XUL because it looked like a lot of unnecessary pain.


*<b>Impact</b>
====Impact====
XUL Runner apps. Mozilla/Firefox extensions.
XUL Runner apps. Mozilla/Firefox extensions.


*<b>Solutions, workarounds</b>
====Solutions, workarounds====
None  
None  


*<b>Improvements</b>
====Improvements====
Why can't it be as simple as passing a jar file to xulrunner/firefox bin  
Why can't it be as simple as passing a jar file to xulrunner/firefox bin  
on the command-line - the same way you pass a jar file to java bin.
on the command-line - the same way you pass a jar file to java bin.
Line 47: Line 47:
=== Privileges / Security barrier ===  
=== Privileges / Security barrier ===  


*<b>Description</b>
====Description====
When one's developping a XUL app, he will soon face privilege issues.
When one's developping a XUL app, he will soon face privilege issues.
actually, many access to deep Mozilla functionnalities (as interacting with XPCOM)
actually, many access to deep Mozilla functionnalities (as interacting with XPCOM)
Line 65: Line 65:
as we already have for XUL extenstions.
as we already have for XUL extenstions.


*<b>Impact</b>
====Impact====
Remote applications.
Remote applications.


*<b>Links</b>
====Links====
This point is already being discussed [[XUL:Remove_Privilege| here]]
This point is already being discussed [[XUL:Remove_Privilege| here]]


 
== dev extension proposal and DEV MODE ==
=== The developer mode ===
 
==== dev extension proposal ====
Once mature, a KISS (keep it simple stupid) ''dev starter kit'' could be bundled with FF to tempt potential developers into "giving it a go". It could be accessed from the tools menu under "create my own extension".
Once mature, a KISS (keep it simple stupid) ''dev starter kit'' could be bundled with FF to tempt potential developers into "giving it a go". It could be accessed from the tools menu under "create my own extension".
* javascript on sidebar, setsome flags, no xul cache
* Easily important DEV MODE flags. ie, no xul cache
* auto generate a skeleton extension based on a choice of templates
* auto generate a skeleton extension based on a choice of templates
* click a "publish" button to produce an XPI along with a basic HTML page including a link to it.
* click a "publish" button to produce an XPI along with a basic HTML page including a link to it.
6

edits