Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread New user issues
Sat, Jul 27 2013 12:53 PMPermanent Link

PKH

EAS Inc.

I am a Delphi XE user with experience developing desktop applications, focusing mainly on non-standard statistical analysis and Monte Carlo Simulations.  I would like to develop some interactive web applications as well.  Thus I am new to EWB and am having some start up problems. It seems as though the documentation assumes the user is already knowledgeable about web-based programming and is simply moving to a different development platform.  

Question 1: Can anyone recommend something - web-based, text, article, animal entrails - to help me get up to speed on what components are necessary for developing interactive web pages?

Question 2: Can anyone help me figure out why I cannot install the included server.  (I have a Dell Windows System 7, 64bit computer.)

I encountered an error when I try to execute the following Run command (per page 131, users guide):

C:\Program Files (x86)\Elevate Web Builder\bin\ewbsrvr.exe /install

which generated the following error: "Windows cannot find 'C:\Program'. Make sure you typed the name correctly, and then try again."

I then copied the wesbsrvr.exe file to another location and tried to execute the following the the Run command:

D:\EAS_Programming_EWB\ewbsrvr.exe /install

which generated this error: "Exception EOSError in module ewbsrvr.exe at 00027229. System Error. Code 5. Access is denied."

Paul




Sat, Jul 27 2013 3:29 PMPermanent Link

Matthew Jones

The install command failed originally because you need quotes around the
file name with spaces in. And the second probably because you need to be an
administrator to install a service.  


--
Matthew Jones
Sun, Jul 28 2013 7:41 AMPermanent Link

PKH

EAS Inc.

Thanks for the help.  Although logged in as an administrator I had to go to Properties for ewbsrvr.exe and change the "Privilege Level" to administrator in order to get it to work without an error.  I also recently moved from XP Pro to System 7, which itself comes with a new array of things to know about, primarily related to security.  Thanks again.
Sun, Jul 28 2013 5:07 PMPermanent Link

Raul

Team Elevate Team Elevate

Administrator in Vista/Win7 does not have adequate right (like you saw)
so it's not "really" administrator anymore.

The other way to do this is to run a administrative command prompt - use
the "run as administrator" right click option with "command prompt" and
then you can install service normally.

if you create a batch file to install/uninstall service then you can
similarly just right click on it and "run as administrator" to get the
needed permissions.

Raul

On 7/28/2013 7:41 AM, PKH wrote:
> Although logged in as an administrator I had to go to Properties for ewbsrvr.exe and change the "Privilege Level" to administrator in order to get it to work without an error.  I also recently moved from XP Pro to System 7, which itself comes with a new array of things to know about, primarily related to security.  Thanks again.

Sun, Jul 28 2013 5:15 PMPermanent Link

Raul

Team Elevate Team Elevate

On 7/27/2013 12:53 PM, PKH wrote:
> Question 1: Can anyone recommend something - web-based, text, article, animal entrails - to help me get up to speed on what components are necessary for developing interactive web pages?

Can you define what interactive web pages means for you ?

In case of EWB the beauty of the product is that you can use it just as
you would have used delphi - create your forms, units and code to
show/hide various forms and run code. You do not really need to know
anything specific about web programming at this point.

The only thing to remember is that you EWB app is running locally in
users browser.

Assuming you take your input from the user and then run
calculation/simulations and show the results then you're there already.

Where things get bit more complex is that if you need to talk to a
back-end server (for example to load/save data/results or perform user
login or various other things of such nature).

EWB manual i think does a pretty good job here so make sure to read :
http://www.elevatesoft.com/manual?action=topics&id=ewb1&section=using_server_requests
(especially the architecture side).

Main thing to keep in mind is that everything is asynchronous so your
code needs to handle it properly.

Raul

Mon, Jul 29 2013 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Paul,

<< Question 1: Can anyone recommend something - web-based, text, article,
animal entrails - to help me get up to speed on what components are
necessary for developing interactive web pages? >>

As Raul indicated, EWB doesn't really do "pages" and isn't like a
traditional web site with pages that are navigated using URLs/links and
require passing state information between each.  An EWB application acts
more like a client/server desktop application - it's loaded once in the
browser and then stays loaded, maintaining its state until the application
is unloaded due to the browser closing or the user navigating to another
URL.  The TServerRequest component is used to make dynamic requests to the
back-end web server in the same way that a desktop application would make
calls to a middleware/database server for data, etc.  With an EWB
application, the calls to the web server are normally just for raw data
(text, like JSON or key-value pairs), and very rarely for actual HTML
content.  This is because the EWB application is handling all of the
content/user presentation interaction by itself.  IOW, why ask the web
server to generate an HTML document when you can just do it yourself in the
EWB application running in the browser.

<< I then copied the wesbsrvr.exe file to another location and tried to
execute the following the the Run command:

D:\EAS_Programming_EWB\ewbsrvr.exe /install

which generated this error: "Exception EOSError in module ewbsrvr.exe at
00027229. System Error. Code 5. Access is denied." >>

Under Windows Vista and above, you must be an administrator in order to
install/uninstall services.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 5 2013 9:21 AMPermanent Link

Dan

Fiscalsoft

Paul,

Just a caveat to the others that have posted:

If you want to learn more about web sites/applications (same thing
really), there are a few sites out there that I really enjoy.


World Wide Web Consortium - http://www.w3.org/ (This is the internet bible)

W3Schools - http://www.w3schools.com/ (a lot of people don't like this
site, but it's great for quick reference)

CodeAcademy - http://www.codecademy.com/ (this site might be a little
dumbed down, but you can learn a lot in a short amount of time)


Tim's answer was perfect, but learning a bit about html, css, and
javascript might make your work a little easier.


-Dan





Image