<<O>>  Difference Topic MooServerPages (r1.3 - 22 Dec 2005 - JeffR)

META TOPICPARENT FeaturesWanted
Changed:
<
<
Looking at the code for $http_agent, it's suffering from much the same problems Servlet's do - lots of print statements containing HTML fragments, and the answer is much like that for servlets was JSP - MSP. Have properties like "foo.msp", which would look like:
>
>
Looking at the code for $http_agent, it's suffering from much the same problems Java's Servlet's do - lots of print statements containing HTML fragments, and the answer is much like that for servlets was JSP - MSP. Have properties like "foo.msp", which would look like:



Line: 18 to 18

"I can't be the first person to try to do this."

Changed:
<
<
And, I'm not. http://www.moo.ca/ has a working implementation, though their source is a slightly hidden.
>
>
And, I'm not. http://www.moo.ca/ has a working implementation, though their source is obscured.

-- CoKe - 29 Dec 2003

Added:
>
>
  • MSP.code: Sample implementation of a possible MSP engine.

Added:
>
>
-- JeffR - 22 Dec 2005

moo.ca's MSP home: http://www.moo.ca/301

and gopher://moo.ca/0/300:compile appears to be the core of their MSP compiler.

META FILEATTACHMENT MSP.code attr="" comment="Sample implementation of a possible MSP engine." date="1134961967" path="MSP.code" size="1255" user="CoKe" version="1.1"
 <<O>>  Difference Topic MooServerPages (r1.2 - 29 Dec 2003 - CoKe)

META TOPICPARENT FeaturesWanted
Looking at the code for $http_agent, it's suffering from much the same problems Servlet's do - lots of print statements containing HTML fragments, and the answer is much like that for servlets was JSP - MSP. Have properties like "foo.msp", which would look like:
Line: 15 to 15

Then, rework the HTTP request handler so that any requests for pages that end in .msp are pulled through the MSP engine and rendered. Can still leave the / handling that currently exists, for form handling, etc.

-- CoKe - 28 Nov 2003

Added:
>
>

"I can't be the first person to try to do this."

And, I'm not. http://www.moo.ca/ has a working implementation, though their source is a slightly hidden.

-- CoKe - 29 Dec 2003


 <<O>>  Difference Topic MooServerPages (r1.1 - 28 Nov 2003 - CoKe)
Line: 1 to 1
Added:
>
>
META TOPICPARENT FeaturesWanted
Looking at the code for $http_agent, it's suffering from much the same problems Servlet's do - lots of print statements containing HTML fragments, and the answer is much like that for servlets was JSP - MSP. Have properties like "foo.msp", which would look like:


<h1> Here's a list </h1>
<ul>
  <% for p in (this.pages) %>
    <li> <a href="<%= p.url %>"><%= p.content %></a>
  <% endfor %>
<ul>

Then, rework the HTTP request handler so that any requests for pages that end in .msp are pulled through the MSP engine and rendered. Can still leave the / handling that currently exists, for form handling, etc.

-- CoKe - 28 Nov 2003

View topic | Diffs | r1.3 | > | r1.2 | > | r1.1 | More
Revision r1.1 - 28 Nov 2003 - 19:04 - CoKe
Revision r1.3 - 22 Dec 2005 - 00:06 - JeffR