090978.org - A weblog about developing umbraco - an open source .NET based Content Management Platform, written by Niels Hartvig. Click here to get back to the frontpage of the weblog

11.23.2004
Making umbraco even easier for developers... Permanent link to this post with (0 comments )
umbraco is heading straight towards a release candidate with lot of bug fixes and some new features added. It has always been a goal that umbraco should be fun to use - and that is whether you're an editor or a developer.

For a developer, a great thing about umbraco is the ability to use you own (or others) .NET controls directly in umbraco, by using the build in UI to create a macro. With the use of macro elements it's possible to send data directly to the .NET control by using Public Properties. There's just one simple catch... Public properties in .NET is nowhere near fun. A lot of set/get code and private variables and after that, you have to repeat some of it in the umbraco UI. A lot of great tools that extend VS.NET have been made making public properties a charm, and now we've made it simple to import them into umbraco:



UI for adding Public Properties in umbraco macros (Click to enlarge)

When you've told umbraco what usercontrol or custom control that should be used in your macro a small button comes up saying "Browse properties". By clicking a new window shows a list of writable public properties in your control and by checking them, umbraco will automatically create them as elements and match base-type (like number, text, bool etc). This way it takes seconds to register .NET controls into umbraco and no more typos :-)

I'll write more the coming days about enhancements in the coming umbraco 2.0 RC.



0 Comment(s)...


Comments: Post a Comment


Older stuff here...

empty gif for design I love umbraco... Click here to go to the developer site

More banners here...


To the weblog frontpage
Email / Contact info
umbraco - my company
Call me through Skype
Blog archive
RSS Feed RSS Feed





commonme.org
publicMIND
urgent.dk
asynkron
Hr. Röser
Interbreed
OpenLife
Loudthinking
BlogBot.dk



Tim O'Reilly - and his books
steve mcconnel
joel spolsky
steve jobs
bruce eckel


Blogger for peace - support the opposition against the USA war for oil

This work is licensed under a Creative Commons License

empty gif for design
empty gif for design empty gif for design empty gif for design