Hi all -

I'm pretty new to webware and have been following the threads related to the v 0.8 release which is being worked on.
I wanted to comment on the only thing I've found so far that is a little bit frustrating about Webware.

Background:
I'm new to Python also and this may be the problem I'm having adjusting so if that's it, then I apologize.
I'm coming to Python development from 5 years of Java development doing J2EE type web based projects in the last 3 years.

The thing that I find frustrating is the way that files are strewn about in directories. I find it confusing when trying to locate where my files are in comparison to webware files and also how to handle things like multiple directories, etc.

I'm wondering about the decision to not using packages. Packages in Java are extremely useful and I was very happy to find out that Python also has them. I realize that backward compatibility is of concern since packages are relatively new but I think using packages alone for webware would greatly reduce the directory clutter that is in all the directories that come with the standard download. For example you could have something like

Then your directory structure when you download a webware release could be more like:

WebWare->
README
Docs/
documentation here
org/
webware/
WebKit/
MiscKit/
UserKit/
MiddleKit/
etc., etc.

Another thing I would find compelling would be to compile .pyc classes into a separate directory that's outside of the web application directory. To me having them there is scary even though the configuration file is configured to not serve them.

Again I'm new to Python so maybe i'm just not seeing some inner beauty of pythons directory structures and other things yet but to me I much prefer the Java Servlet specs model of having all the files needed for a web application be bundled in a WEB-INF directory with corresponding library and class directories as well as application server configuration files specific to that particular web application. I also think this would "greatly" increase attrition of Java Servlet/JSP developers if the structure were similar.


Thanks for listening to my probably silly ideas :-)

Cheers
Mike




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to