Thursday, February 15th, 2007

4D Web 2.0 Pack Demos

Category: JavaScript, Library

The 4D team has released demos for their 4D Web 2.0 Pack.

Ironically the demos are downloadable samples that focus on showing of ajaxian database applications.

The demos available are:

  • Vacation Tracker: Losing track of time? This rich application manages your time off. See how little source code is necessary to build a powerful live web application.
  • 4D Jukebox: See how you can get a full-featured media player app from 4D on to the web with this implementation of the 4D Ajax Framework. Less than ten lines of code drive this dynamic web application.
  • Tech Support: A windows MDI application developed using the 4D Ajax Framework Client. This demo was built to show the power of the 4D Ajax Framework Client Development Environment. No custom code was necessary for the web portion of this demo.

vacation tracker

Posted by Dion Almaer at 6:26 am

3.3 rating from 30 votes


Comments feed TrackBack URI

Very cool application. What programming language do they use?

Comment by — February 15, 2007

4D is a cross platform RAD development environment. It can be used to build Client/Server or standalone applications. More importantly 4D (the company bought Webstar) has an integrated Web server. The 4D Web Pack builds on this by enabling developers to easily build AJAX frontend to any database you choose to develop. You can find more out here

Comment by Michael Kaye — February 15, 2007

FYI, 4D was used to develop PowerSchool, the first completely web based School Information System. Subsequently sold to Apple, and then sold again to Pearson.

Comment by Mot Nosnews — February 15, 2007

FYI, there are several large applications that are 4D based. WebMD uses 4D, as does Big Business.

In the case of PowerSchool they wrote their own web server and hand-coded all the pages, and it wasn’t AJAX based. I don’t work for Pearson, so I can’t tell you what they’re doing now.

Comment by PM Maliki — February 15, 2007

Oh, yeah – 4D the Lanuage: It’s a child of Pascal, but there are things that they have done that remove some of the stupid things from Pascal – no terminating semicolons at the end of lines (instead they’re used for argument separators), semi-implicit typing, etc. Also the code isn’t all in one window. Each object shows its own script. I personally like it better that way, but whatever.

To give a brief example of 4D code, here’s an example. The following snippet will ask for a user’s name, then send it back to the screen 100 times in a modal dialog. Yeah, that’s annoying, but it’s just an example.

name:=Request(“What is your name?”)
for (i;1;100)
ALERT(name+” is the greatest!”)
end for

You will notice in the example above that a) semicolons are argument separators and b) All variables are implicitly typed. The standalone application supports full implicit typing, however if you compile your application you cannot coerce type changes (each symbol only has a single type within its scope), and you can set the compiler to require explicit typing if you choose.

Comment by PM Maliki — February 15, 2007

The 4D language is vary old. It is procedural not object oriented. It lacks even a C struct or Pascal record like construct to the language. Also the whole 4D runtime and the database are a single environment. The code and the database are one big ball. While the 4D database is relational it is not SQL based. It has it’s own query language that in the programming language.

Comment by Tom McGee — February 16, 2007

Leave a comment

You must be logged in to post a comment.