Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could VFP script be used instead of Javascript?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01130135
Message ID:
01131027
Views:
17
>>It might be difficult to build a scripting language in VFP that a browser would be able to recognize.
>
>No kidding... <g>
>
>I always find it humorous to have people think up places where they would like to see the FoxPro language embedded, not even understanding what it would mean to the language. If you had a client-side FoxPro language nearly all of the things that make VFP a good language in the first would be lost anyway... For example, without the ability to have acess to local data storage you couldn't create a cursor let alone access files from the system. VFP without cursors would be - eh, kinda useless...

VFP may not be a good choice for embedding into a browser, but it is hard to beat in a LAN setting. The GUI of VFP is so much faster and more refined than a web based interface created form html and javascript. Heck, VFP is even nice as a front end client used to connect to a database server like MSSQL, Oracle, or PostgreSQL over TCP/IP, but as an embedded Plugin for a browser; I don't think so. <g>
>
>As far as client side languages go JavaScript is quirky but adequate for the tasks required. I personally could live with a real OO model instead of the protype hacks for creating objects, but other than that it's reasonably capable.

If you want web based OO, then you go with .Net or Java. Sun now has a "Studio Creator 2" RAD for building web application that allow a user to drag and drop objects like labels, textboxes, radio buttons, grids, drop down list, tree menus, etc onto a design area. When an object like a textbox is click to give it the focus, a properties dialog appears that allow the easy selection of background colors, boarder widths, etc. for the select object. Sun Studio Creator 2 come with its own "Web Application Server" to dish up the java object that have been designed into web pages. I would assume that .Net has functionality along these same lines. The incredible thing about Sun's "Studio Creater 2"; it is free.
>
>Regardless of what language is used the bottlenecks are the browser DOM and CSS implementations that vary so widely...

Yes, that part of building a web application is kind of crude, and slow, compared to OO.

Regards,

LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform