Archive for the ‘classic ASP (VBScript)’ Category

Loading ...
Tuesday, December 18th, 2007
I did check all your comments on the JSON utility class and fixed the existing bugs. The new changes are available in version 1.4 which is available for download now. I really appreciate your help by posting your comments and solutions. Most of them have been considered in the new version. Have fun and please keep me informed about new issues.
Download JSON 1.4
Posted in JSON, classic ASP (VBScript) | 3 Comments »

Loading ...
Tuesday, August 21st, 2007
The summer here in Austria is really hot this year and therefore I had not much time to do a lot for webdevbros. Enjoying the sun as much as possible ;) However I was very happy about getting a big amount of feedback for my JSON utility class which showed me that you guys out there are using it. Thanks for that! As a gift for that I spent some time to update the class and released a 1.3 version. Changes are the following:
- The class can easily be used with “Option Explicit” now
- Multidimensional arrays are supported (unlimited dimensions)
Go to the download and grab your version. It is backwards compatible so it is not a problem to override your old version .. hopefully you didnt change anything ;). Have fun with it and feedback is welcomed.
Posted in JSON, classic ASP (VBScript) | 2 Comments »

Loading ...
Monday, July 16th, 2007
Since version 0.2 it is possible to use a database with ajaxed out of the box. The library offers the ability to configure a connection string for the use of ODBC within your pages. After that convenient methods enable access to the database. The following paragraphs give a short insight into the usage of a database within ajaxed. (more…)
Posted in ajaxed | 65 Comments »

Loading ...
Monday, July 16th, 2007
Upon releasing the first version of a classic ASP AJAX library called ajaxed I received a lot of positive response. For this reason I have extended the library and released version 0.2 now. The update consists mostly of server side additions which have not really to do with Ajax. Still those additions are very useful when working with ajaxed because everything is done on server side. Here is a short excerpt of some additions:
- A database can be easily configured now and accessed with several convenient methods.
- A collection of useful string functions is now directly accessible (check VBScript String functions). Those functions are necessary for all kind of projects you do.
- Prototype 1.5.1.1 is being used now
Have a look at the new version and give me your feedback. I hope that I can find some time to come up with more tutorials.
Posted in ajaxed | 4 Comments »

Loading ...
Wednesday, July 11th, 2007
Hey it is really cool that one of the most popular Ajax websites (Ajaxian) have posted a short article about the ajaxed Library. Thanks to Dion Almaer who wrote about it. I like the comments there where ppl are talking about ASP and ASP.net. Especially the first one is funny:
Ian: Just who the hell is having to use Classic ASP still?… oh.. wait.. thats me! Thanks, Dion!
I have done some updates and the version 0.2 is coming soon guys…
Posted in ajaxed | 4 Comments »

Loading ...
Tuesday, July 3rd, 2007
I thought its better to create an own page dedicated to the ajaxed Library. It is easier to follow the current changes, bugs, feature requests, etc. The page can be found in the menu on the right or just here. Because I got some nice feedback I will come up with more tutorial within the next weeks. Promise ;)
Posted in ajaxed | 1 Comment »

Loading ...
Monday, July 2nd, 2007
My last post (about an ASP RSS component) included a demonstration which made use of a cool ajax technique simply called “ajaxed”. See the demonstration here again. If you play around you will recognize that there is no conventional postback and AJAX is up in here ;) I have developed a small “library” which easily allows you to call server side ASP VBScrtipt procedures from the client side. No low-level Ajax knowledge is required… (more…)
Posted in AJAX, JSON, Javascript, ajaxed, classic ASP (VBScript), protoypejs, xajax | 45 Comments »

Loading ...
Sunday, July 1st, 2007
Once i was looking for a nice RSS class/component for ASP which allows me to read all kind of feed formats programmatically. In addition to the correct parsing it should also be able to create own feeds for publishing purposes. Unfortunately I could not find any component which fits those requirements in ASP and therefore written my own. (more…)
Posted in classic ASP (VBScript) | 17 Comments »

Loading ...
Thursday, June 28th, 2007
You might know it from other plattforms but hardly seen it in classic ASP apps: Templates. Some time ago I have written a Template component which i recently updated and decided to make it publicly available. It allows you to load a template file and replace its placeholders with actual values. It comes up with featues like e.g. repeating blocks (more…)
Posted in classic ASP (VBScript) | 6 Comments »

Loading ...
Thursday, April 26th, 2007
When working with JSON it's nice to have a generator for your language which transforms all the datatypes from your chosen programming language into the JSON grammar so that you can use them within javascript. For a lot of popular languages it's done already (i suppose) but I haven't found one for classic ASP .. so here it comes. The following example quickly demonstrates what the goal is:
ASP:
-
set RS = getRecordset("SELECT * FROM table")
-
response.write((new JSON).toJSON("rows", RS))
A simple usage of JSON normally is that you create a page which outputs data as JSON as the only response. This page is called later from another page and the returned data is used within a javascript function (known as callback). So the snippet above gets some data from the database and stores it in an adodb.recordset which is passed then to the JSON generator and the result is printed on the page. The consuming page would like to access the data now as it originally was within the recordset. like this:
JAVASCRIPT:
-
function callback(rows) {
-
for (i = 0; i <rows.length; i++) {
-
alert(rows[i].columName);
-
}
-
}
read on to get the details... (more...)
Posted in AJAX, JSON, Javascript, ajaxed, classic ASP (VBScript) | 149 Comments »