Welcome! Log In Create A New Profile

Advanced

Information program in AWP

Posted by Alex.pcs.crosspost 
Alex.pcs.crosspost
Information program in AWP
May 08, 2009 08:57AM
I have been told that all the pages AWP changes. Can someone tell me where can I find information about programming and using AWP?. With the help of WebDev there is not much help for AWP.
Thank you.

Message forwarded from pcsoft.us.windev
"Roger Dunk".pcs.crosspost
Re: Information program in AWP
May 09, 2009 10:25AM
Hi Alex,

From memory there's quite a bit of detail on AWP in the Help files, so keep
looking!

The main difference is that with the standard dynamic site, PC Soft are
attempting to emulate the same methodology as per normal desktop programming
(i.e. you build one program that has many windows (or pages in the case of
the web)). The difference with AWP (like PHP, ASP etc) is that each page is
effectively treated as a separate program. When an AWP page is first called,
it knows nothing about what came before it. Once the page has been
displayed, the program has ended. Therefore you need to look at sessions
(called contexts in WebDev) or parameters to transfer information from page
to page. This is managed automatically with the dynamic sites, but not with
AWP. Your options are to either store information in global variables (which
will create a session that uses cookies to keep track of things) or page
parameters. Once you've got a handle on how data will be maintained or
recreated when you move from page to page, it's all fairly straight-forward.

For what it's worth, I wouldn't dream of using a dynamic (non AWP) WebDev
site that wasn't only going to be used internally. If you want the search
engines to be able to properly index your site, you MUST use AWP.
Unfortunately (in my opinion) PC Soft doesn't place as great emphasis on AWP
as they should, as perhaps most developers with the know-how to use AWP are
using PHP or ASP etc. Often times there are bugs in the AWP support (I've
reported one in v14 beta just last week), so be prepared!

Cheers...
Roger

"Alex" <bruspri@hotmail.com> wrote in message
news:daede1d3e71b661139fd264d056b2e80@news.pcsoft...
>
> I have been told that all the pages AWP changes. Can someone tell me where
> can I find information about programming and using AWP?. With the help of
> WebDev there is not much help for AWP.
> Thank you.
>
Message forwarded from pcsoft.us.windev
Fabrice Harari.pcs.crosspost
Re: Information program in AWP
May 09, 2009 10:28AM
Hi Alex

One of the webdev courses I'm selling on my website is about awp... That
could give you a starting point. But ALL the differences are not listed
in it, you'll have to take it from there and basically debug...
Switching a web site from classic to awp means sometime redisigning a
page, as some things are just not possible in that mode

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on [www.fabriceharari.com]


Alex wrote:
> I have been told that all the pages AWP changes. Can someone tell me where can I find information about programming and using AWP?. With the help of WebDev there is not much help for AWP.
> Thank you.
>
Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: