Author: Leon.van.der.Ree
Date: 2010-05-13 23:13:07 +0200 (Thu, 13 May 2010)
New Revision: 29452

Modified:
   plugins/ExtjsGeneratorPlugin/trunk/README
   plugins/ExtjsGeneratorPlugin/trunk/TODO.txt
   plugins/ExtjsGeneratorPlugin/trunk/config/app.yml
Log:
updated README, TODO and fixed default app.yml

Modified: plugins/ExtjsGeneratorPlugin/trunk/README
===================================================================
--- plugins/ExtjsGeneratorPlugin/trunk/README   2010-05-13 21:02:58 UTC (rev 
29451)
+++ plugins/ExtjsGeneratorPlugin/trunk/README   2010-05-13 21:13:07 UTC (rev 
29452)
@@ -5,22 +5,32 @@
 Installation
 ------------
 
-Move into your project directory and issue the following commands:
+Move into your project directory and create a new project
 
+    > /path/to/sf1.4/data/bin/symfony generate:project --orm=propel 
project_name
+    
+then issue the following commands:
+
     > svn export 
http://svn.symfony-project.com/plugins/ExtjsGeneratorPlugin/trunk/ 
./plugins/ExtjsGeneratorPlugin
     > svn export http://svn.symfony-project.com/plugins/sfExtjs3Plugin/trunk/ 
./plugins/sfExtjs3Plugin
     > svn export http://svn.symfony-project.com/plugins/sfPropel15Plugin/trunk 
./plugins/sfPropel15Plugin
-    > 
+
+Or add them as svn-externals
+
+Now add the extjs-framework to the sfExtjs3Plugin
+     
     > mkdir ./plugins/sfExtjs3Plugin/web
     > cd ./plugins/sfExtjs3Plugin/web
     > wget http://extjs.cachefly.net/ext-3.2.1.zip
     > unzip ext-3.2.1.zip
     > rm ext-3.2.1.zip
     > ln -s ext-3.2.1 extjs
-    > cd ../../../web/
-    > ln -s ../plugins/sfExtjs3Plugin/web sfExtjs3Plugin
-    > ln -s ../plugins/ExtjsGeneratorPlugin/web ExtjsGeneratorPlugin
-    > ln -s ../plugins/sfPropel15Plugin/web sfPropel15Plugin
+    
+now extract the IconMgr library (we want to keep subversion fast, so we zipped 
it)
+    
+    > cd ../../ExtjsGeneratorPlugin/web
+    > tar xvzf ../Ext.ux.IconMgr.tar.gz
+    > cd ../../../
 
 Disable the core Propel plugin and enable the `sfPropel15Plugin`, 
`sfExtjs3Plugin`, and `ExtjsGeneratorPlugin`:
 
@@ -35,6 +45,10 @@
       }
     }
 
+    
+And finally publish the assets of the plugins
+    > ./symfony plugin:publish-assets
+
 Change the path of the symfony behaviors in the `config/propel.ini` file of 
your project:
 
     [ini]
@@ -44,4 +58,22 @@
     propel.behavior.symfony_behaviors.class        = 
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
     propel.behavior.symfony_timestampable.class    = 
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorTimestampable
 
-The new options for the `admin15` generator theme are fully documented, and 
illustrated by real life examples, in the 
[`doc/admin_generator.txt`](http://trac.symfony-project.org/browser/plugins/sfPropel15Plugin/trunk/doc/admin_generator.txt)
 file in this plugin source code.
\ No newline at end of file
+The new options for the `admin15` generator theme are fully documented, and 
illustrated by real life examples, in the 
[`doc/admin_generator.txt`](http://trac.symfony-project.org/browser/plugins/sfPropel15Plugin/trunk/doc/admin_generator.txt)
 file in this plugin source code.
+
+Don' t forget to setup apache and create a database.
+Tip use the firebugsymfony plugin to see the symfony-debug tools in firebug.
+
+after you setup your database and create your model with Propel, you should 
create the extjs forms and filters with
+
+    > ./symfony extjs:build-forms
+    > ./symfony extjs:build-filters
+    
+and you can create your modules with    
+  
+    > ./symfony extjs:generate-admin app_name ModelName
+
+That is it, you should now see your ExtJS powered modules when you take a look 
with your browser!
+
+There is however a change you get a server-error when you have relations in 
your schema. The generator is looking for the __toString() methods for the 
related objects, but once you have implemented these functions in your model 
run 
+    > ./symfony cc 
+and refresh you should now see a list, with filter, and functionality to add 
new items!
\ No newline at end of file

Modified: plugins/ExtjsGeneratorPlugin/trunk/TODO.txt
===================================================================
--- plugins/ExtjsGeneratorPlugin/trunk/TODO.txt 2010-05-13 21:02:58 UTC (rev 
29451)
+++ plugins/ExtjsGeneratorPlugin/trunk/TODO.txt 2010-05-13 21:13:07 UTC (rev 
29452)
@@ -1,23 +1,30 @@
-add a numberfield widget
-add a hiddenfield widget
-heredoc in generator for generated partials
-expand generated partials with examples
-refactor widgets to use config instead of attributes
-auto add ^object_actions as last column if object_actions are enabled
-move is_empty checkbox for filter to an extension
-is_empty doesn't reset when value is set from the session
-is_empty should clear associated fields when set
-is_empty oncheck listener to submit the filter
-formpanel updatebuttonvisibility needs to be looked at
-add time display for datetime fields to list, filter, and edit
-foreign columns should show __toString() output in list
-foreign columns should be clickable to open an adminstration for that foreign 
table if one exists
-refactor evals in generator partials
-clean up app.yml
-
-### defered
-add ext components not lazy loaded list to app.yml
-add a way to disable bottombar
-grid editing
-grid row expander
-grid grouping
\ No newline at end of file
+add a numberfield widget
+add a hiddenfield widget
+heredoc in generator for generated partials
+expand generated partials with examples
+refactor widgets to use config instead of attributes
+auto add ^object_actions as last column if object_actions are enabled
+move is_empty checkbox for filter to an extension
+is_empty doesn't reset when value is set from the session
+is_empty should clear associated fields when set
+is_empty oncheck listener to submit the filter
+formpanel updatebuttonvisibility needs to be looked at
+add time display for datetime fields to list, filter, and edit
+foreign columns should show __toString() output in list
+foreign columns should be clickable to open an adminstration for that foreign 
table if one exists
+refactor evals in generator partials
+clean up app.yml
+
+### defered
+add ext components not lazy loaded list to app.yml
+add a way to disable bottombar
+grid editing
+grid row expander
+grid grouping
+
+
+use sfGrid (once it is ready) 
+
+
+### usability
+don' t show delete buttons when object is not created yet in edit-form
\ No newline at end of file

Modified: plugins/ExtjsGeneratorPlugin/trunk/config/app.yml
===================================================================
--- plugins/ExtjsGeneratorPlugin/trunk/config/app.yml   2010-05-13 21:02:58 UTC 
(rev 29451)
+++ plugins/ExtjsGeneratorPlugin/trunk/config/app.yml   2010-05-13 21:13:07 UTC 
(rev 29452)
@@ -14,11 +14,11 @@
     list_trackMouseOver:        false
     list_loadMask:              false
 
-    module_returns_layout:      false                   # true uses the build 
in viewport, set to false if you want to use your own layout
+    module_returns_layout:      true                    # true uses the build 
in viewport, set to false if you want to use your own layout
     module_grid_panel_name:     Ext.app.sf.GridPanel    # the global var name 
for the list grid panel
     module_tab_panel_name:      Ext.app.sf.TabPanel     # the global var name 
for the list tab panel, gridpanel is automatically an item of the tabpanel
     module_filter_panel_name:   Ext.app.sf.FilterPanel  # the global var name 
doe the list filter panel, filterpanel is not an item of the tabpanel
     module_view_port_name:      Ext.app.sf.ViewPort     # the global var name 
doe the list filter panel, filterpanel is not an item of the viewport
-    module_app_init_partial:    init_app                # partial located in 
the app/templates directory that adds panels to your custom layout.
+#    module_app_init_partial:    init_app                # partial located in 
the app/templates directory that adds panels to your custom layout.
 
     format_date:                "m/d/Y"

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to