Aaron Johnson Now with 50% less caffeine!

Posted
17 November 2003 @ 4pm

Tagged
.NET, Interface Design, Rich Internet Applications, Software Development

Shallow comparison of ASP.NET to Flex

Flex seems pretty interesting when you realize how similar it is to something like ASP.NET. Look how similar this snippet of Flex:

<?xml version="1.0" encoding="iso-8859-1"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
   <mx:script>
   function copy() {
      destination.text=source.text
      }
   </mx:script>
   <mx:TextInput id="source" width="100"/>
   <mx:Button label="Copy" click="copy()"/>
   <mx:TextInput id="destination" width="100"/>
</mx:Application>

to this snippet of ASP.NET code:

<script language="C#" runat="server">
   public void Copy(Object src, EventArgs e) {
      destination.Text = source.Text;
   }
</script>
<form runat="server">
<asp:textbox id="source" size="30" runat="server" />
<asp:button id="copy" OnClick="Copy" text="Copy" runat="server" />
<asp:textbox id="destination" size="30" runat="server" />
</form>

I can’t wait to see the IDE rolled out for Eclipse and the .NET version. Cool stuff Macromedia!


2 Comments

Posted by
Joe Cheng
18 November 2003 @ 9am

What’s Flex?


Posted by
David
18 November 2003 @ 10am

Flex = http://www.macromedia.com/software/flex

Regards,
David
Macromedia


Leave a Comment

QueryParser … in NLucene Dangerious Ideas Seminar: Why I hate programming