
Im currently learning up ASP.NET because a project calls for it. I guess I prefer its model than the rather complicated MVC which really boggled my mind when I had to maintain a rather simple app. Thanks to nick whos teaching me the ins-and-outs of ASP.NET development.
Ive got ancient knowledge on web development, days of perl and miva, and I know that the model is different. However Id rather have a logical model which can be closely mapped to windows programming.
So what Ive done here with csopf is to create a
csopf.ASP.BaseForm which can be used as a base class for inheritence and Templates. I havent a clue on how ASP.NET 2.0 will help me here, so suggestions are welcomed. [I still cant believe that there arent templating features in modern web development languages]
It works with a
FormParameter which keeps track of the 'call stack' so that the pages know where to proceed to. This is necessary so that objects are kept in memory so that there are less database hits. Ive noticed that alot of asp websites support that model of hitting the db whenever data is required...
A new UserControl called
csopf.ASP.PDASPGrid to manage the PDLists, is created so that its now easy for developers to display the list, and allow users to click into the lists to drill into the objects within the lists, with Add, Edit and Delete functions.
The Forms which maintain the objects can be designed in the Visual Studio IDE visually, although it doesnt show what the final layout will be, the region for the detail will be WYSIWYG.
Besides this, I maintain the state by managing the Sessions and ViewState objects, so the developer wont need to worry about it too much. Dont worry, stateless modes also will be supported. Its up to you on how to make use of these new 'intelligent' forms.
I will create a sample website to showcase the changes in the very near future. Perhaps for the v0.4.0 release.
Regards!
yk.