Click here to Skip to main content
Click here to Skip to main content

FrameControl - Framework for creating web applications

By , 25 Jul 2003
 

Introduction

FrameControl is a Visual Studio add-in including a library of components ready to drag and drop in your Visual Studio web project. With it, define your workflow, presentation layers, stored procedures using XML files and you get a structured application rapidly running. You can also define the browser behavior for each page: decide to keep or clear the history, decide to activate or deactivate the back button. What is also specific to FrameControl is that it maps data entered in the HTML fields to database store procedures parameters using a single XML file (no code required).

In a nutshell, you can :-

  • Use XML to define a  workflow linking elements of your web application, such as pages displayed, database stored procedures, .NET objects methods.
  • Use XML to define the layout architecture of pages in your system, each page becoming a template container for Web User Controls which are parsed and  connected to database store procedures parameters at run time.
  • Plug in new Web User Controls in your web without coding, save the data from these new controls in the session and the database.
  • Discover stored procedures parameters and their types, automatically calling them, and putting results in the user session.
  • Saving all data entered by users in Session without any code to add.

Background

Any web developer has experiences the trouble of having to do part of the job of the web designer for dynamic pages, and any web designer the trouble not to be able to modify any other file than static HTML. FrameControl try to make it simple to change the workflow between pages by changing an XML file, make it simple to create a dynamic page (with workflow logic and database interactions) without coding. A unique data access component makes it possible to define what is saved in the database by configuring an XML file.

Using the code

A complete 10 page documentation on how to configure FrameControl is included in the demo project, while a complete source code description generated by Visual Studio is included in the source files. The demo project includes a windows installer that will automatically update your Visual Studio environment. The source project includes a ZIP files that is the Visual Studio Install project. It will allow you to update the install program with your modified version of FrameControl.

The main data structure of FrameControl is the page XML description, described above. Any page in the system is defined as an XML tag and can alternatively trigger an object method. The object will be discovered at run time using the reflection library. The structure of the page is a HTML TABLE, with optional attributes such as align, valign, colspan; for its TR and TD elements.

<Page Name="firstPage" prefill="Y" action="myNameSpace.firstPageActions">
<Title> FrameControl page which events are linked to an ActionClass </Title>
<PlaceHolderArray>
<tr>
<td valign="top">
  <name>AddressRegistration_WebUserControlName</name>
</td>
<td>
  <name>BlankColumn_WebUserControlName</name>
</td>
<td>
  <name>BookCatalog_WebUserControlName</name>
</td>
</tr>
</Page>

Points of Interest

A systematic approach to creating a web application using the .NET framework made me work a lot with .NET packages, and understand some behavior that I wouldn't meet for a standard web development. Code automation is an interesting subject; many developments could be added to enhance FrameControl, each of those requiring to be careful about design problems, from the beginning.

History

FrameControl comes from the need to put as much as redundant code common to all web applications in a framework that would use as much as possible .NET web packages. A great deal of work has been done, however some more work need to be done. The Session Time Out problem should be studied. (In the Application object, FrameControl must be initialized again  when the user Session Time Out has occured). In the future, the article from Patrick Long on CodeProject, Exploring ASP.NET Session state and cache data, can be used to add debugging tools to the framework.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

S. Jehan
Japan Japan
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralFrameControl on VS2003memberclaudio.maccari@bba-italy.com5 Aug '03 - 22:22 
After installing FrameControl on VS2003 I get this errorwhile I'm try to create a new ASP.NET Framework Control Application
 
Object with program ID VsWizard.VsWizardEngine cannot be created
 
(before I built the MSI package I've chage the VS directory because VS2003 is installed in C:\Program Files\Microsoft Visual Studio .NET 2003)
 
Thank you
Claudio
GeneralRe: FrameControl on VS2003memberS. Jehan6 Aug '03 - 1:28 
Hello,
 
This is a link that explains wizard creation under VS 2003:
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxwlkcreatingtemplateusingsubprojectwizards.asp
 

If you changed the VS directory, the file that causes the problem should be located at

Microsoft Visual Studio.NET 2003 \ VC# \ CSharpProjects \ CSharpFCWebApp.vsz
 

In this file, you need to change to ProgID of the wizard... I don't say it's convenient but Microsoft let us no choice, check the link:
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcwlkMigratingCustomWizards.asp
 
So please replace the ProgID of the wizard
Wizard=VsWizard.VsWizardEngine.7.1
 
Unfortunately I don't use v2003 at home so I hope this info will help.
 
Sebastien Jehan
GeneralRe: FrameControl on VS2003memberclaudio maccari6 Aug '03 - 2:24 
Now it seem to be ok!
Thank you
 
Ciao
Claudio
GeneralI need the URL to downloadmemberrajasent1 Aug '03 - 0:30 
Hi Friends,
 
I just want to knowm, where can i download the add-in FrameControl - Framework for creating web applications ?
 
If it is already there in the Microsoft Visual studio.NET, How do i link that add-in with my .NET IDE. B'coz , when i create a new project, there is no option like ASP.NET Frame Control application.
 
Friends, please help me on the above
GeneralRe: I need the URL to downloadmemberS. Jehan1 Aug '03 - 1:41 
Hello,
 
You can get the source or the install program on the top of this article.
For docs refer to jobmorning.net
 
Otherwise, you won't have your FrameControl application in .NET IDE before downloading and installing it.
 
Gambatte (Good luck in japanese)
GeneralRe: I need the URL to downloadmemberrajasent1 Aug '03 - 2:22 
Hi Jehan,
 
Thanx for the information u had send to me. Now i am able to get it in my .NET IDE.
 
Nadri (Thanx In Tamil (India)).
GeneralMissing docs and msimembermanfbraun29 Jul '03 - 9:06 
Hi !
 
This project was first looking very interesting, but the announced documentation is not in the downloads, nor the mentioned MSI file. What I first found was a copyright notice, which tells me more or less, this is a "professional posting" and some kind of advertisement??
 
Would be nice to hear some stuff!
Thanks and best regards,
Manfred
GeneralRe: Missing docs and msimembersebastien jehan30 Jul '03 - 13:24 
Hello,
 
Sorry for the copyright notice it comes from the time where FrameControl source was not given for free. It has been dropped there by mistake WTF | :WTF:
 

For complete documentation you can check on www.jobmorning.net
and look at Documentation -> Technical Documentation. There is a detailed setup description.
 
Good luck !

GeneralRe: Missing docs and msimembermanfbraun31 Jul '03 - 9:02 
Hello Sebastien,
 
that looks really very pretty! I'll taker a longer reviewe there, the project lokks very interesting!
 
Thanks a lot,
Manfred

GeneralRe: Missing docs and msimemberChuscazo23 Sep '03 - 3:44 
Hi sebastien Jehan,
 
I have a small problem. I have followed your directions to download all the technical documentation about the framecontrol.
But any link I follow i always get de same result: "PAge can not be found". I would appreciate If you can point me somewhere else where i can found the documentation, otherwise I totally lost with what to do to get started with the framecontrol.
 
Thanks a lot in advance.
 
Jesus
 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 26 Jul 2003
Article Copyright 2003 by S. Jehan
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid