PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Information program in AWP
Information program in AWP
Iniciado por Alex, 08,may. 2009 10:58 - 2 respuestas
Publicado el 08,mayo 2009 - 10:58
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.
Publicado el 09,mayo 2009 - 12:25
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.
Publicado el 09,mayo 2009 - 12:29
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 http://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.