|  | Posted by Weird-beard on 10/18/05 12:31 
I too have been working on the subject for a long time.
 all web MVC frameworks seem to be originating from struts, which seems
 very successful. The reusability and modularity issues are best solved
 with MVC for the web, in my opinion.
 
 Looking upon .net and php, I always confronted jsp and J2ee, like you
 have presented. Not only the good frameworks are on J2ee, but also the
 developer is much more sophisticated.
 
 In many php posts, such a subject appears rarely, but java related
 discussion lists are full of these, where php users still try to tell
 you about the sales issues, why bother, no need for architecture etc.
 
 Maybe, php is the wrong place for people interested in such issues to
 be, as most of the community is geared towards procedural programming.
 The weird thing is, php 5's route, which is intersecting ours. Anyway,
 php's drawback for such applciation development is not being a strong
 typed language, I think.
 
 For DBabstraction, there is nothing like hibernate for php, at least I
 havent met.
 Creole, propel etc is not bad, but doesnot supply what you need. You
 need something like hibernate, or some framework implementing "domain
 mapping design pattern" by martin fowler.
 
 The logging, authorization, redirection, workflow infrastructure is
 handled with Filters in J2ee presented in Core J2EE patterns by deepak
 alur and used in dot net too.
 
 Front controller can be used for such action, but, some filter chain
 infrastructure using xml for chaining filters should be used, like
 j2ee. As the client requests file, the request may call the front
 controller which in turn calls the filter chain which reads the xml
 file and gets what filters it should apply (logging, zipping,rewriting
 adress etc), calling each filter then calling the page controller or
 smth.
 
 The validation could be done by the dotnet way, but struts has some
 other solution for this, I have an incomplete module for form input and
 validation, which uses some encapsulated php validation and javascript
 validation completely seperated. Can inform more if interested.
 
 There is too much to be worked on. The current frameworks for php is
 INADEQUATE. Some serious framework should be studied upon,
 investigating the structures from both J2EE and dotnet, even some older
 technologies, using their design patterns.
 
 I would be willing to participate in such a project.
  Navigation: [Reply to this message] |