We are starting to standardize what we have been doing with our web
applications and I have a “cost-benefit” question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /and <divvs <asp:panelsfo r current static
information.
In my view if we go ahead and make all things static into server controls
anyway then we have the advantage of things like localization, skins and
generally being able to program to them should the spec’s change.
This in general (plus general consistency) seems to outweigh the performance
concerns. Not to mention a server side control could just have viewstate off
and I am willing to bet it will be exactly like any literal control once it
gets to the client. 4 1338
I call premature optimization.
Do your sites have performance concerns?
Have you profiled them and discovered server controls to be a leader cause?
If it _was_ a performance issue, you wouldn't be asking the question....
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"sean_mcad" <se******@discu ssions.microsof t.comwrote in message
news:4A******** *************** ***********@mic rosoft.com...
We are starting to standardize what we have been doing with our web
applications and I have a "cost-benefit" question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /and <divvs <asp:panelsfo r current static
information.
In my view if we go ahead and make all things static into server controls
anyway then we have the advantage of things like localization, skins and
generally being able to program to them should the spec's change.
This in general (plus general consistency) seems to outweigh the
performance
concerns. Not to mention a server side control could just have viewstate
off
and I am willing to bet it will be exactly like any literal control once
it
gets to the client.
No performance issues really and that is not even taking into consideration
proper deployment.
Turns out my lead has agreed for us to go all out on server controls for the
very reasons same reasons (extensiblity and standardization )
"Karl Seguin [MVP]" wrote:
I call premature optimization.
Do your sites have performance concerns?
Have you profiled them and discovered server controls to be a leader cause?
If it _was_ a performance issue, you wouldn't be asking the question....
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"sean_mcad" <se******@discu ssions.microsof t.comwrote in message
news:4A******** *************** ***********@mic rosoft.com...
We are starting to standardize what we have been doing with our web
applications and I have a "cost-benefit" question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /and <divvs <asp:panelsfo r current static
information.
In my view if we go ahead and make all things static into server controls
anyway then we have the advantage of things like localization, skins and
generally being able to program to them should the spec's change.
This in general (plus general consistency) seems to outweigh the
performance
concerns. Not to mention a server side control could just have viewstate
off
and I am willing to bet it will be exactly like any literal control once
it
gets to the client.
Don't feel bad.
A lot of guys go through a phase of premature optimization.
It's usually mostly a mental thing.
I suggest consulting a counselor or doctor as needed.
;-)
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
netwrote in message news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>I call premature optimization.
Do your sites have performance concerns?
Have you profiled them and discovered server controls to be a leader
cause?
If it _was_ a performance issue, you wouldn't be asking the question....
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"sean_mcad" <se******@discu ssions.microsof t.comwrote in message
news:4A******** *************** ***********@mic rosoft.com...
>We are starting to standardize what we have been doing with our web applications and I have a "cost-benefit" question when it comes to some server controls.
Main two examples is Plain text vs. <asp:label /and <divvs <asp:panelsfo r current static information.
In my view if we go ahead and make all things static into server controls anyway then we have the advantage of things like localization, skins and generally being able to program to them should the spec's change. This in general (plus general consistency) seems to outweigh the performance concerns. Not to mention a server side control could just have viewstate off and I am willing to bet it will be exactly like any literal control once it gets to the client.
lol
-- http://www.openmymind.net/ http://www.codebetter.com/
"Steve C. Orr [MVP, MCSD]" <St***@Orr.netw rote in message
news:eb******** ********@TK2MSF TNGP04.phx.gbl. ..
Don't feel bad.
A lot of guys go through a phase of premature optimization.
It's usually mostly a mental thing.
I suggest consulting a counselor or doctor as needed.
;-)
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
netwrote in message news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>>I call premature optimization.
Do your sites have performance concerns? Have you profiled them and discovered server controls to be a leader cause?
If it _was_ a performance issue, you wouldn't be asking the question....
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"sean_mcad" <se******@discu ssions.microsof t.comwrote in message news:4A******* *************** ************@mi crosoft.com...
>>We are starting to standardize what we have been doing with our web application s and I have a "cost-benefit" question when it comes to some server controls.
Main two examples is Plain text vs. <asp:label /and <divvs <asp:panelsfo r current static information .
In my view if we go ahead and make all things static into server controls anyway then we have the advantage of things like localization, skins and generally being able to program to them should the spec's change. This in general (plus general consistency) seems to outweigh the performance concerns. Not to mention a server side control could just have viewstate off and I am willing to bet it will be exactly like any literal control once it gets to the client. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: D Witherspoon |
last post by:
I am developing a Windows Forms application in VB.NET that will use .NET
remoting to access the data tier classes.
A very simple way I have come up with is by creating typed (.xsd) datasets.
For example dsParts.xsd and including that in the data tier. I then will
create a class that looks like this
Public Class CPart
Inherits dsParts
|
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying
Object app = Object();
Object *app = Object();
Object app = new Object();
|
by: byrocat |
last post by:
I'm chasing after a documetn that was available on one of the Microsoft
websites that was titled somethign like "MS SQL Server Best Practices"
and detailed a nyumber of best practices about securing the server.
Included in this was revoking public access to the system table
objects.
Can someone post the URL where I can pick this up, or drop me a note on
contacting them for a copy of the document?
|
by: Matt Kruse |
last post by:
http://www.JavascriptToolbox.com/bestpractices/
I started writing this up as a guide for some people who were looking for
general tips on how to do things the 'right way' with Javascript. Their code
was littered with document.all and eval, for example, and I wanted to create
a practical list of best practices that they could easily put to use.
The above URL is version 1.0 (draft) that resulted. IMO, it is not a
replacement for the FAQ,...
|
by: Todd |
last post by:
Hello,
I'm looking for a book with in-depth coverage of developing server
controls, particularly custom controls. Ideally, the book would have a
good amount of how-to's and best practices, but also serve as a fairly
complete reference. It doesn't need a whole lot in the way of
introductory material as I already have most of the basics down. So
I've narrowed my search down to 2 books: "Developing Microsoft ASP.NET
Server Controls and...
| |
by: Josh Harris |
last post by:
Here is my question:
It is common to have many pieces of business logic encapsulated within
asp.net user controls. This can be found in high visibility projects
such as the iBuySpy portal from MS. Virtually every bit of the site
is encapsulated within user controls. The problem begins when you try
to have user controls pass information to one another as well as to
their parent form. This can be accomplished by creating public...
|
by: NathanV |
last post by:
In traditional ASP I used to pretty much replicate what is now being done in
ASP.NET 2.0 with the master pages. I would create a header include file that
included everything up to the main content cell, and a footerthat included
the rest. I've been creating header user controls in asp.net but have run
into problems.
1) How do I work around only being allowed 1 form for page? If my user
control has server controls and a form in it,...
|
by: jojobar |
last post by:
Hello,
I am trying to use vs.net 2005 to migrate a project originally in vs.net
2003. I started with creation of a "web site", and then created folders for
each component of the site.
I read somewhere that each folder under the "web site" is compiled in
separate assembly. I however, did not find that the "web site" creation in
vs.net 2005 created any AssemblyInfo.cs file.
|
by: Ned Balzer |
last post by:
Hi all,
I am pretty new to asp.net; I've done lots of classic asp, but am just
beginning to get my mind wrapped around .net.
What I'd like to do is include some code that tests if a user is logged
in, on each and every page, and redirects the user to a login page if
s/he's not logged in. The login page will also take care of some
standard setup, such as choosing/populating a user profile. I used to
use <!-- #include ... --for this,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |