[Windmill-dev] Windmill 'js' directory structure

Adam Christian adam at osafoundation.org
Thu Oct 18 11:30:23 PDT 2007


It has been brought to my attention that in the web app world it's a  
big no no to have user facing html files in a directory called js,  
and additionally it isn't very intuitive or descriptive.

Currently what we have is:

js:
controller      ide             lib             saves           wm
extensions      ide-readme.txt  remote.html     start.html

Any web developer wanting to contribute to this project is going to  
hunt around and probably find it frustrating when they find  
start.html and remote.html in a directory called js.

I propose something like:

html:
	remote.html
	start.html
	css/
	img/
	js/
		lib/
		wm/
		controller/
		extensions/

This way people immediately know where to find things intuitively  
(like the templates dir in django, pylons, or rails) and can start  
hacking. In terms of impact to users, they shouldn't even notice...  
there are about 3 places in the wiki I will have to update.

Adam
						
	


More information about the Windmill-dev mailing list