Started project on CodePlex

The first draft of source code demonstrating how this idea will work is now published to CodePlex.

Here is the link: http://entityui.codeplex.com/

Basically what it shows is that you write your class, then with a few lines of code, you can have your UI rendered! Here is the code that does renders the UI:

    ' Instantiate School Class with Events
    Protected WithEvents Departments As New EntityUI(Of Department)

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        ' Example on how to use EntityUI to automatically Render Input control

        PlaceHolderUI.Controls.Add(Departments.RenderInputPanel())

    End Sub

And thats pretty much it to render UI. Of course, this is just a first draft, and it doesn’t provide full functionality, but it’s a start.

Again, basically what EntityUI does is that it goes through the Class Properties, and renders a control for you based on each Property.

Here is how it looks like when you run it:

EntityUI in action
EntityUI in action
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s