473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Life Cycle and Events : comparison between ASP.NET and ATL Server

i have recently been interested in exploring ATL server. i have been
doing development on asp.net and server controls the past 1 year or
so.
in ASP.NET, the Page and ALL its contained controls get a chance to
handle an event collectively, such as Load, onPreRender() and
RenderContents().

i have read the book:

ATL Server: High Performance C++ on .NET
by Pranish Kumar, Jasjit Singh Grewal, Bogdan Crivat, Eric Lee

its seems ATL server parsed the srf file and calls the code behind or
handler for each {{tag }} it encounters. these handlers would churned
out the http stream as a replacement over the {{ tag }} much like the
old asp pages. everything seems to be dependent on the location of the
{{ tag }}.

in some way, i felt ATL Server is still lacking in comparison with
ASP.NET and wish it could have such a event infrastructure. of cos, am
also aware of the fact the ATL server design considerations are vastly
different from ASP.NET.
hope to get some views on this.
Nov 17 '05 #1
1 1348
Hello,

ATL Server has actually an event infrastructure.
Examples:
- the loading of the ISAPI DLL calls into the ISAPI class's
GetExtensionVersion
- the initialization of a handler object, per request, is a call to handler
class' ValidateAndExchange
- the rendering phase is a call to HandleRequest
- a child stencil is initialized through InitializeChild and then the
content is rendered in HandleRequest

All these methods can be overriden and can be used for custom purposes

The stencil rendering engine is just a way of handling the "Render Contents"
event (HandleRequest), this can be noticed
in the HandleRequest default implementation in atlstencil.h.
However, ATL Server applications can be built without stencil
rendering support by disabling this option in the New Application wizard

Please post any questions you have on handling various events in ATL Server
--
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. It is for newsgroup
purposes only.

thanks,
bogdan


"meng" <hu****@star-quest.com> wrote in message
news:c9**************************@posting.google.c om...
i have recently been interested in exploring ATL server. i have been
doing development on asp.net and server controls the past 1 year or
so.
in ASP.NET, the Page and ALL its contained controls get a chance to
handle an event collectively, such as Load, onPreRender() and
RenderContents().

i have read the book:

ATL Server: High Performance C++ on .NET
by Pranish Kumar, Jasjit Singh Grewal, Bogdan Crivat, Eric Lee

its seems ATL server parsed the srf file and calls the code behind or
handler for each {{tag }} it encounters. these handlers would churned
out the http stream as a replacement over the {{ tag }} much like the
old asp pages. everything seems to be dependent on the location of the
{{ tag }}.

in some way, i felt ATL Server is still lacking in comparison with
ASP.NET and wish it could have such a event infrastructure. of cos, am
also aware of the fact the ATL server design considerations are vastly
different from ASP.NET.
hope to get some views on this.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: jim | last post by:
Hi All, I like to know the life cycle of an ASP .NET Application( incudieng server application, such as .NET Web Service). That means from initialization to fully running and how to reboot it or...
5
by: Peter Rilling | last post by:
I have an interesting issues that, although I not blocking me, is not very performance. Maybe someone can suggest a better way of doing this. 1) I have a page that displays a grid with command...
12
by: TB | last post by:
Hi All: I am trying to create a variation on the standard datagrid, whereby the datagrid is only shown after pressing some buttons. This reason for this is that I would like to use the same...
5
by: Fred | last post by:
hi, i have a page written by someone else w/ a few user controls inside it(w/ user controls inside em too) - what i dont get is the order different page_inits, page_loads, cashed and postback...
3
by: Griff | last post by:
I want to build a set of compiled user controls to incorporate into a web site. The majority of user controls will be placed on specific web page and these controls would share a common...
3
by: HP | last post by:
Hi there The problem of dynamically created controls vs viewstate is widely known one. To access values of controls they have to be recreated on Page_Load. Unfortunately it causes many...
1
by: =?Utf-8?B?U2FtZWVrc2hh?= | last post by:
I vaguely know that HTTP Post does not send all the data (hidden fields?) along with the request. I would like to know the stage in ASP.Net application life cycle where the POST data is read - is...
1
by: koren99 | last post by:
Hello, I have a gridview that is filled with a datasource & template fields dynamically. ( that has to be done because i ask the user for a datasource) anyway, i started out creating a static...
4
by: lander | last post by:
I've read the page life cycle thing in msdn, still, i'm getting a bit confused of thinking how all the things are going under the hood... I know that when page loading, that the controls'...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.