{"id":540,"date":"2003-11-17T16:34:54","date_gmt":"2003-11-17T20:34:54","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=540"},"modified":"2003-11-17T16:34:54","modified_gmt":"2003-11-17T20:34:54","slug":"shallow-comparison-of-aspnet-to-flex","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/11\/17\/shallow-comparison-of-aspnet-to-flex\/","title":{"rendered":"Shallow comparison of ASP.NET to Flex"},"content":{"rendered":"<p><a href=\"http:\/\/www.macromedia.com\/software\/flex\/\">Flex<\/a> seems pretty interesting when you realize how similar it is to something like ASP.NET. Look how similar this snippet of Flex:<br \/>\n<code><br \/>\n&lt;?xml version=\"1.0\" encoding=\"iso-8859-1\"?&gt;<br \/>\n&lt;mx:Application xmlns:mx=\"http:\/\/www.macromedia.com\/2003\/mxml\"&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&lt;mx:script&gt;<br \/>\n&nbsp;&nbsp;&nbsp;function copy() {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destination.text=source.text<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n&nbsp;&nbsp;&nbsp;&lt;\/mx:script&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&lt;mx:TextInput id=\"source\" width=\"100\"\/&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&lt;mx:Button label=\"Copy\" click=\"copy()\"\/&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&lt;mx:TextInput id=\"destination\" width=\"100\"\/&gt;<br \/>\n&lt;\/mx:Application&gt;<br \/>\n<\/code><br \/>\nto this snippet of ASP.NET code:<br \/>\n<code><br \/>\n&lt;script language=\"C#\" runat=\"server\"&gt;<br \/>\n&nbsp;&nbsp;&nbsp;public void Copy(Object src, EventArgs e) {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destination.Text = source.Text;<br \/>\n&nbsp;&nbsp;&nbsp;}<br \/>\n&lt;\/script&gt;<br \/>\n&lt;form runat=\"server\"&gt;<br \/>\n&lt;asp:textbox id=\"source\" size=\"30\" runat=\"server\" \/&gt;<br \/>\n&lt;asp:button id=\"copy\" OnClick=\"Copy\" text=\"Copy\" runat=\"server\" \/&gt;<br \/>\n&lt;asp:textbox id=\"destination\" size=\"30\" runat=\"server\" \/&gt;<br \/>\n&lt;\/form&gt;<br \/>\n<\/code><br \/>\nI can&#8217;t wait to see the IDE rolled out for Eclipse and the .NET version.  Cool stuff Macromedia!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flex seems pretty interesting when you realize how similar it is to something like ASP.NET. Look how similar this snippet of Flex: &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;iso-8859-1&#8243;?&gt; &lt;mx:Application xmlns:mx=&#8221;http:\/\/www.macromedia.com\/2003\/mxml&#8221;&gt; &nbsp;&nbsp;&nbsp;&lt;mx:script&gt; &nbsp;&nbsp;&nbsp;function copy() { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destination.text=source.text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&lt;\/mx:script&gt; &nbsp;&nbsp;&nbsp;&lt;mx:TextInput id=&#8221;source&#8221; width=&#8221;100&#8243;\/&gt; &nbsp;&nbsp;&nbsp;&lt;mx:Button label=&#8221;Copy&#8221; click=&#8221;copy()&#8221;\/&gt; &nbsp;&nbsp;&nbsp;&lt;mx:TextInput id=&#8221;destination&#8221; width=&#8221;100&#8243;\/&gt; &lt;\/mx:Application&gt; to this snippet of ASP.NET code: &lt;script language=&#8221;C#&#8221; runat=&#8221;server&#8221;&gt; &nbsp;&nbsp;&nbsp;public void &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/11\/17\/shallow-comparison-of-aspnet-to-flex\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Shallow comparison of ASP.NET to Flex<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,13,15,2],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/540"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}