views:

88

answers:

3

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for the web? I mean, with a predefined list of widgets that can be defined using a markup language and then control them using code?

I have come across Google's Web Toolkit that does something like this but I'd like to hear what other's think as well.

+1  A: 

Try asp.net with Visual Studio. No xml needed! Add the MVC framework, and you're in heaven.

BenB
Any equivalent for the linux box? .NET requires IIS. I would love anything that runs on the cheap webhosts out there...
Legend
how cheap are you talking? I've seen super cheap windows hosting everywhere I've seen cheap Linux hosting
Rich
A: 

PHP Framework: http://www.pradosoft.com/

Ward Werbrouck
A: 

Google web toolkit works somewhat in the manner you're describing, especially the 2.0 version that's coming out, which will allow defining the layout in html/xml, rather than java swing style widget adding.

And as Benji said, Asp.net works exactly like this.

Personally, I much prefer an MVC approach over a code-behind approach.

Adam Albrecht