This may be a stupid question.

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

This may be a stupid question.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:30 pm

by Logan Clarke >> Tue, 13 Jan 2004 19:55:39 GMT

Hi,

I'm Extremely New to JADE and was wondering if I can compile an exe from my schema?

And How do I make a web interface for my program?

Thanks

Loki

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: This may be a stupid question.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:30 pm

by dcooper@jade.co.nz >> Tue, 13 Jan 2004 20:18:03 GMT

JADE applications run within the JADE environment. You can't take a schema and compile it to a standalone executable.


Re creating web interfaces for your JADE systems, check out these two White Papers on the web site:

http://www.jadeworld.com/downloads/jade ... uments.pdf


and


http://www.jadeworld.com/downloads/jade ... Client.pdf


Cheers,
Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: This may be a stupid question.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:30 pm

by dr >> Tue, 13 Jan 2004 20:54:11 GMT

[Hey Dean's quick on the keyboard - I was still typing up my reply when he posted! There's something to be said for brevity...]

Hi Logan,

Standalone Jade executable ...
- Jade code is interpreted (rather than machine native executable instructions), so the runtime needs to be installed on any PC that will execute code (e.g. same as Visual Basic). -
Even if your application does not use the database to store persistent data, Jade relies on access to the database for generic component objects (e.g. similar to Java object libraries).
- The installed environment provides support for runtime system distribution, which most (all?) deployed Jade systems rely upon.


Two techniques Jade provides for web interfaces are

1. web-enabled: paint the forms in the painter, and Jade translates these to HTML on demand - this provides a fast and easy way to get basic dynamic web functionality. The Demo System (Erewhon), downloadable from the website, provides a good example of this, plus excellent developers notes.

2. HTML Document Import (new in Jade 6, previously available as an add-in library called JssInternetSchema) allows you to design standard web pages (e.g. using dreamweaver or frontpage), then import the pages into Jade and map dynamic elements (buttons, listboxes, tables, variables etc) to Jade objects. This offers better scalability, flexibility and performance than the web-enabled solutions. Documentation for this starts in the User Guide, Chapter 14.

Cheers,
Rob

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: This may be a stupid question.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:30 pm

by allistar >> Thu, 15 Jan 2004 3:05:54 GMT

As mentioned JADE is interpreted, so you can't compile it into an .exe. The ...exe for JADE is "jade.exe", into that you tell it what schema and application to run, like this:

jade.exe path=<path to system directory> schema=MySchema app=MyApp ini=<ini file name>

The will run the application called "MyApp" in the schema called "MySchema" on the database located at <path to system directory>.\

There are various ways to make a web application using JADE. You could web enable a Jade application, use the JADE 6 internet capability (once called JSSInternetSchema).

There are other technologies that allow you embed JADE code into the web page (like ASP or PHP) which give you full access to the JADE database. See my signature below for details.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 22 guests