So you're using server-side JScript on IIS with asp?

Very cool

— Thomas Aylott
   SubtleGradient
   MooTools


On Thu, Jan 7, 2010 at 5:49 AM, Pete Duncanson <
[email protected]> wrote:

> Excellent stuff! Theres me thinking I was the only one using it
> commercially.
>
> Still trying to get my head around how the CommonJS stuff works, on first
> look it seems to not want you to modify any of the Native objects which
> would be a pain, no .each() etc. available without some hoop jumping. We
> could end up lots of a lovely modules that all use different frameworks
> which could really be a bind and lead to bloat. That or we end up with a
> unified version (which I guess is what CommonJS is about but theres no
> mention of a spec as yet) which would seem sensible but a sticky problem to
> start as it will be a mind field of X does it like this, Y does it like that
> style wars.
>
> In our ASP code we've been using Response.Write's to push stuff to the
> response stream but after finding Jack and JSON Template I'm now thinking of
> creating a new code of our code that tries to emulate this somewhat with a
> final Response.Write at the end of the script. Also had an idea to create a
> XML Document for each page which could be loaded from a static (or multiple
> statics) and then you could do Element goodness with server-side before you
> write it down to the Response Stream, this would give client-side coders a
> leg up on how to do Server-Side as most of the DOM functions would be the
> same. Is that an insane idea? I'm still pondering it :)
>
> Believe it or not the XML manipulation stuff is pretty damn fast on ASP (MS
> got the guy who wrote the MS DOM stuff in for the re-write of their .net
> implementation as their initial version was massively slower than the old
> COM version). All the talk of ASP being slow tends to be based on old
> articles from 10 years ago. On modern machines in the real world its
> fantastically fast and really, really good fun to code with :)
>
> Pete

Reply via email to