I am just wondering why there is no such application that use the power of C to build a web application. I know that perl, php and another interpreter are made by C, but they are just an intepreter. They are not exposing how powerful C is.
The idea is taken from ASP.Net from microsoft.It's a nice idea where you seperate the User Interface and the code. I just wonder why we don't have it and apply it to C.
From the big view it's very easy to implement, what you have to do is to map the UI and the code. So every controls or tags in document, I'll call it cspx document (with cspx extention), are mapped to one control variable in the code. Any changes that have been applied in the code (control variables) should be mapped again to the document.
I'll give you the big picture from my example below :
Let say your document is here
< cspx:textbox id="textbox1">
and the code is here
textbox1.value = "test"
So the doument that you have to send to browser is just like this.
< input id="textbox1" value="test">
Simple? Yes it's simple.
Now I have made the framework but it has limited features right now. CSPX has few features e.q cookies, session, query string, POST methods, retrieving file and multipart/form-data. I know it cannot be released know but soon it will. Now I am focusing on the parser itself. I need a powerful xml parser. I think apache xml api is powerful, so I decided to use it. Let see then.
Subscribe to:
Post Comments (Atom)
10 comments:
I had just noticed today that comcast.com actually takes me to a .cspx page. I have always been very interested in ASP .NET and liked to develop in it which it what sparked my interest and caused me to google the .cspx extension. One of the top Google results, your blog posting from 07! I am just curious, did you continue on building from your original idea? Did it get taken and someone else built it? How the HELL is a company like Comcast using .cspx for their homepage before ANYONE else (that I have noticed at least).
Hopefully you are still following this posting and will reply....
Exact same deal as Tim. I am a developer moving to Seattle and just went to Comcast's site to set up cable service but immediately noticed the .cspx extension. What's up with this??
Ha, I did the same thing after visiting comasts site.
I also googled it and came to this site after visiting comcast.
So whats the story? What is the extension .cspx ?
LOL, me too
Almost all http servers allow you to map a particular extension (.cspx) to some handler that actually generates the response. I suppose comcast is using asp pages with .cspx extension. Poop.
Same as everyone above... It looks to me like it is a .net custom http handler that puts all of their ASP.net, javascript, jquery and whatever else they use together into their layout.
Same here. Was on comcast locator site and noticed the .cspx. I think it's an ASP.net program as well.
Same here...Went to Comcast page, wondered what the heck is .cspx and googled it to see your page.
http://www.codeproject.com/Articles/335968/Implementing-HTTPHandler-and-HTTPModule-in-ASP-NET
Mystery solved :) http handlers and the implementation also
Post a Comment