WebStack Options and Desktop Menus for OpenSolaris 1. Summary and motivation Starting with build 79, OpenSolaris has a complete AMP stack (Apache2, PHP5, MySQL). To be in par with to the competition (Windows and Wamp, Mamp on Mac, etc), and to attract new developers to the OpenSolaris platform, some Desktop integration and initial help is necessary. For example, while the Solaris Management framework (SMF) is very powerful, it may prevent initial evaluators of the OS or the AMP stack to become operational in a very short amount of time. The WebStack Options and Desktop Menus package adds the Desktop features to operate the SAMP stack. It provides: - Menu to initialize the stack for a particular user - Menu to start/stop the Apache2 and MySQL services - Menu to view the log files - Menu to create and run samples - Menu to view the getting started guide - Menu to launch a SAMP UI console that exposes the key parameters of the stack: - Apache Port Number - Apache Document directory - PHP debug mode - PHP log level - Access to the httpd.conf file in edit mode - Access to the php.ini file in edit mode - Show a detailled status of the stack - View a phpinfo page 2. Technical issues 2.1. File Locations /usr/share/webstack/menus/ The gnome Desktop menus /usr/share/webstack/globalmenus/ /usr/share/webtack/doc/ HTML guides /usr/share/webstack/libexec/ Private libraries and scripts /usr/share/webtack/sample/ PHP samples 2.2. Packaging and Delivery The following package naming is proposed: SUNWwebstackui 4. Internationalization. The Desktop Menus can be internationalized using the [1] standard Gnome mechanism. The Swing Option UI is written with the NetBeans 6.0 GUI designer with all the I18N and L10N methods with external messages stored in properties bundle files. 5. Documentation. A developer Guide and a getting started guide for the complete OpenSolaris WebStack are delivered in this package as html documents. This documentation includes pages describing the Desktop menus and the console UI. 6. Interfaces 6.1. Interface Stability. The currently proposed stability is Volatile as we are looking for developers and users feedback. The long term goal for the GUI is to be integrated in the Visual Panel project [4]. 6.2. Imported Interfaces. NAME STABILITY NOTES -------------------------------------------------------------------------- Apache SMF service Uncommitted PSARC/2007/169 PHP5 Uncommitted PSARC/2007/168 MySQL Uncommitted PSARC/2007/608 Desktop Specification Committed LSARC 2005/734 Menu Specification Committed LSARC 2005/734 6.3. Exported Interfaces. NAME STABILITY NOTES -------------------------------------------------------------------------- SUNWwebstackui Uncommitted Package Name Desktop Menu Items Volatile Public GUI interface Web Stack Gnome Menus Options UI Volatile Web Stack Options GUI /usr/share/webstack/* Project Private Content within is accessed through the desktop GUI and is not documented for users 7. References. [1] http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html [2] http://xdesign.sfbay/projects/samp/designs/UI.html [3] http://xdesign.sfbay/projects/samp/designs/Options.html [4] http://opensolaris.org/os/project/vpanels ============================================================================== Appendix A - File Listing /usr/share/webstack/ Copyright.html README /usr/share/webstack/menus/.local/share/applications/ webstack-apachelog.desktop webstack-createsample.desktop webstack-mysqllog.desktop webstack-options.desktop webstack-runsample.desktop webstack-start.desktop webstack-stop.desktop webstack-uninitialize.desktop webstack-viewgettingstartedguide.desktop /usr/share/webstack/menus/.local/share/desktop-directories/ webstack-logs.directory webstack-sampleapp.directory webstack.directory /usr/share/webstack/menus/.config/menus/applications-merged/ webstack.menu /usr/share/webstack/globalmenus/ applications.menu applications_orig.menu hidden-webstack-initialize.desktop webstack-initialize.desktop webstack-viewdevtools.desktop webstack.directory /usr/share/webstack/doc/html/graphics/ caution.gif ix-generic.gif next.gif prev.gif procedure.gif /usr/share/webstack/doc/html/ docinfo.html figures/startserv.gif figures/startserv.png index.html p2.html p3.html p4.html p5.html p6.html p7.html toc-1.html toc-2.html toc-expanded.html toc.html /usr/share/webstack/doc/html/css/ BL_b8b8b8.gif BL_c8c8c8.gif BL_c8c8c8_zoom.gif BL_c8c8c8_zoomed.gif BL_eee.gif BL_eee_zoom.gif BL_eee_zoomed.gif BL_fff.gif BL_fff_zoom.gif BL_fff_zoomed.gif BL_zoom.gif BL_zoomed.gif BR_b8b8b8.gif BR_c8c8c8.gif BR_eee.gif BR_fff.gif TL_b8b8b8.gif TL_c8c8c8.gif TL_eee.gif TL_fff.gif TR_b8b8b8.gif TR_c8c8c8.gif TR_eee.gif TR_fff.gif a.gif a2_background.gif a2_bg_logo.gif a2_bg_logo_wlinks.gif a2_bg_logo_wolinks.gif a2_corner_bl.gif a2_corner_br.gif a2_corner_tl.gif a2_corner_tr.gif a2_menu_corner_l.gif a2_menu_corner_r.gif a2_menu_off.gif a2_menu_on.gif a2_menu_on_s.gif advanced.css ar_dbl_blue.gif ar_lg_orange.gif ar_lg_orange_h.gif ar_single_black_bold.gif bg_dksunblue.gif bg_home_b3.gif bg_home_b3_iewin.gif bg_home_b4.gif bg_lightyellow.gif bg_navblue.gif bg_navgreen.gif bg_sunblue.gif bg_sunorange.gif bg_sunyellow.gif bg_titlebar.gif bg_titlebar2.gif bg_titlebar3.gif bg_titlebar4.gif bg_titlebar5.gif bg_titlebar6.gif bg_white_to_grey.gif corner_navblue_tl.gif corner_navblue_tr.gif d7_tab_bg.gif default.css generic_bl.gif generic_br.gif generic_tl.gif generic_tr.gif ic_bullet_white.gif ipg.css logo_sun_small.gif ul_bullet.gif vnv1_bg_logo.gif /usr/share/webstack/libexec/ createsample.sh initialize.sh initializeasroot.sh options.jar restart.sh runsample.sh showoptions.sh start.sh stop.sh uninitialize.sh viewdevtoolsguide.sh viewgettingstartedguide.sh /usr/share/webstack/sample/ jmaki-solaris-express-1.0.zip phpsample.zip /usr/share/applications/ webstack-initialize.desktop webstack-viewdevtools.desktop /usr/share/desktop-directories/ webstack.directory