ever wanted to create web apps using our favorit language (Pascal)??
you could do it using WebSnap, building web apps in a snap! hehe
here is a step by step guide for you to run and build a simple hello world application using CodeGear 2007 + websnap.
- Using wizzard, create a websnap application : file >> New >> Other >> Websnap Application
- Select Web app debugger executable
- Enter your Class name and Page name
- Hit that OK Button
- Important, websnap use Indy9 instead of Indy10 so you should point your project search path to Indy9 Lib, on my computer it is in C:\Program Files\CodeGear\RAD Studio\5.0\lib\Indy9
- Now click on Run
- After the project compiles and runs, go to the IDE, Tools >> Web App Debugger
- On the Web App Debugger form, click on the Start button, now click on the default address http://localhost:8081/ServerInfo.ServerInfo
- Important, if you are on Window 7, or if you encounter an 404 Page you need to allow all of the firewalls permissions, go to the CodeGear installation directory(on my computer it is in C:\Program Files\CodeGear\RAD Studio\5.0\bin) and then run serverinfo.exe, try again that http://localhost:8081/ServerInfo.ServerInfo
- Congratulations!! this is your first WebSnap applications (Web app built on pascal language). Now.. go wild! :)
Tidak ada komentar:
Posting Komentar