|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Dojo library LayoutI was wondering if there is a best practice for the layout considering the usage of the recent Zend_Dojo... I know it must be under the html folder, but how do you recommend it should be implemented?
>application >html >images >scripts >js >dojo >styles >libraryOr maybe? >application >html >images >scripts >dojo
>styles
>libraryAny suggestions? -- Christian Sánchez A. |
|
|
Re: Dojo library Layout-- Christian Sanchez <csanchez84@...> wrote
(on Friday, 18 July 2008, 10:12 AM -0500): > I was wondering if there is a best practice for the layout considering the > usage of the recent Zend_Dojo... I know it must be under the html folder, but > how do you recommend it should be implemented? > > >application > >html > >images > >scripts > >js > >dojo > >styles > >library > > Or maybe? > > >application > >html > >images > >scripts > >dojo > >styles > >library > > Any suggestions? Dojo is javascript, so it should be under public/js/ -- Matthew Weier O'Phinney Software Architect | matthew@... Zend Framework | http://framework.zend.com/ |
|
|
Re: Dojo library LayoutI currently use a layout similar to your second option and I keep my
Dojo modules in their own directory outside of the dojo source. - application - bootstrap - htdocs - images - scripts - dojo - dijit - dojo - dojox - util - mydojo - library - tmp On Jul 18, 2008, at 10:12 AM, Christian Sanchez wrote: > I was wondering if there is a best practice for the layout > considering the usage of the recent Zend_Dojo... I know it must be > under the html folder, but how do you recommend it should be > implemented? > > >application > >html > >images > >scripts > >js > >dojo > >styles > >library > > Or maybe? > > >application > >html > >images > >scripts > >dojo > >styles > >library > > Any suggestions? > -- > Christian Sánchez A. |
|
|
Re: Dojo library Layout2008/7/18 Matthew Weier O'Phinney <matthew@...>: -- Christian Sanchez <csanchez84@...> wrote Just to make things clear, you say it should be: >application >html >images >scripts >styles >library>js >dojo -- Christian Sánchez A. |
|
|
Re: Dojo library Layoutpublic/js would be a js folder under your server's document root (html in your case).
You can in reality put the dojo source anywhere under the document root (pulbic folder) and set the location in the dojo view helper. i.e. $view->dojo()->setLocalPath('/js/dojo/dojo.js') ->addStyleSheetModule('dijit.themes.tundra'); On Jul 18, 2008, at 11:45 AM, Christian Sanchez wrote:
|
| Free Forum Powered by Nabble | Forum Help |