Plugin Suite ModuleJspwiki style: sortable
%% Suite location: acvs/phobos/ide-plugins/netbeans-plugins Phobos Web Framework providerA NetBeans web framework provider module that adds the Phobos runtime as a framework to be added to any Web Applications project. The plugin will also provide wizards to create simple JS or EJS files. We will not deliver a JavaScript editor and will rely on an external Javascript editor (http://www.liguorien.org/jseditor) for the NetBeans 5.5 timeframe. Module location: acvs/phobos/ide-plugins/netbeans-plugins/phobos-framework-provider The Phobos web framework can be added to a regular Web Application during project creation (optional task) by selecting it in the list of published frameworks. The jMaki framework is also automatically added whenever the user selects the phobos framework as shown below: The resulting Web application contains the Phobos application structure in the WEB-INF area: The jMaki and Phobos Runtime libraries are automatically added to the Web App libraries. The user can decide to include them in the WAR or not via the project properties (standard way for any Web Application in NetBeans): Also, when the Phobos framework is added to a Web Application, the web.xml is automatically modified with the correct servlet entries. The user can see or edit other parameters via the graphical or text editor for web.xml as sgown below: Phobos simple project type (Embedded Phobos runtime)In order to develop faster Phobos application, a simple project type will be available.This is an enabler for the Phobos debugger module. The same new wizards added via the Phobos web framework module will be available. Module location: acvs/phobos/ide-plugins/netbeans-plugins/phobos-project After the wizard finishes, a Phobos application project with correct structure, a default controller, view and script is created. The jMaki framework is also added in the static area. The jMaki palette is available on the *.EJS files (compliment of the jMaki plugin). On the project popup menu, there are 2 important actions: Run and Debug. Run or Debug will launch in a separate NetBeans thread the Phobos container runtime as embedded. When debug is used, the IDE attaches automatically to the Rhino Engine from Phobos and it can debug javascript files. (So far, Rhino does not have remote debugging API, this is why we need to run in the same process as the NetBeans process). Debugging Javascript files relies on the presence of the external Javascript editor. Other popup menu will allow the user to save this project as a binary WAR file, of as a NetBeans Web Application project. Another action can display some Phobos page for some documentation. A phobos project will have some properties that can be edited in the Properties page. The content is TBD for now: The user can add JARs, Libraries or other Java projects to a Phobos application. Doing that automatically add the jars to the internal Phobos classpath so that these new APIs can be accessed in Javascript rhino engine. For example, a user can add a JPA library containing persistent Java Object mapped to a database. These JPA objects can then be used in a Phobos server side environment. One can use the CRUD generator (available as a Phobos System App) to generate CRUD views (EJS) based on a JPA persistence provider. jMakei components library is available via the Palette DnD for *.EJS files: Finally, we'll provide wizards to create JavaScript, controller, and Views (stylized EJS based on a predefined set of CSS templates: Phobos JavaScript Debuggger (Embedded Phobos runtime)This plugin will rely on the simple Phobos project type and using the in-process capability of Phobos (Phobos Runtime running in the same VM as the NetBeans IDE), will allow a user to set breakpoints, watch javascript variables, inspect javascript variables on scripts running on the server side. Since the Rhino Javascript engine does not expose remote APIs for debugging, running in process of the NetBeans IDE is the only way to enable JavaScript debugging. Later on (JDK 1.7?) remote debugging might be added when the Rhino engine evolves. Module location: acvs/phobos/ide-plugins/netbeans-plugins/local-debugger Debug Call Stack: Debu Local Variable inspection: Phobos Debuggger API library wrapperModule location: acvs/phobos/ide-plugins/netbeans-plugins/phobos-debugger-api Phobos Samples ModuleA NetBeans module that add all the Phobos samples as projects in the new project wizard. It is similar to the J2EE Blueprints module and the user can pick and choose a sample project and install it in the IDE to run it, debug it and possibly modify it. Module location: acvs/phobos/ide-plugins/netbeans-plugins/PhobosSamples List of existing Sample Phobos Apps, as NetBeans Phobos projects: Phobos Server ModuleModule location: acvs/phobos/ide-plugins/netbeans-plugins/phobos-server JSF-extension web framework providedA simple NetBeans web framework provider module that exposes the jsf-extensions APIS with their Javadoc as a framework to be added to any Web Applications project. Rome library providerA simple NetBeans library wrapper module that exposes the ROME APIS with their Javadoc for Code completion. JSON library providerA simple NetBeans library wrapper module that exposes the JSON APIS with their Javadoc for Code completion. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |