Need some advice on what tools to use for web development.

J

johannblake

First off, I am NOT a beginner. I have lots of experience developing
professional web sites and am a professional software developer.
Unfortunately I've been out of web site development for the past 2
years but would like to get back into it. What I need is some advice to
get me up-to-date on what is the best (or one of the best) ways of
developing web sites and web applications.

The following are my requirements:

* Static web pages need to be created that consist primarily of text
and graphics. They need to be based on some form of templates so that I
can change the look and feel of all web pages easily.

* Dynamically generated pages will be created using ASP.Net. It would
therefore be nice if the tool can allow me to create nice pages based
on templates but has good support for ASP.NET.

* Good support for CSS and XML

I last used Visual Studio .NET 2003 and while it sufficed, I didn't
think it was entirely suited for creating well managed and good-looking
web sites. A tool like Dreamweaver probably has some advantages over VS
but I am not sure what since I've never used Dreamweaver.

What about the latest version of Frontpage? Would it compliment/enhance
ASP.NET?

I don't have the latest version of VS so I am not sure what
improvements Microsoft made to the IDE for web site development. Just
some small things or major changes? Does it compete with Dreamweaver?
From your own experience, what would you recommend. Eventually I do
need to create ASP.NET applications so I will end up using VS.NET but I
can always use the version 2003 for that unless of course the latest
version does most of what I need.

Thanks for you help
Johann Blake
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

There are some fundamental changes in VS 2005 that makes it a bit nicer
to work with. It supports XHTML (and uses it by default). It no longer
mangles the code when you switch to design mode (major rewrite of the
design management).

For templates you should take a look at Master Pages in .NET 2. It
neatly separates the page skeleton from the page contents.

You can download Web Developer 2005 Express for free from Microsoft, and
it can be installed along side VS 2003 without any problems.
 
J

johannblake

Does Web Developer 2005 Express support the "Master Pages" you
mentioned or is this feature only available in the latest version of VS
2005?
 
J

johannblake

Have you ever used Master Pages? If so, I'd appreciate some comments on
their usefulness, good points and bad points.
 
R

Richard Brown

I've not been using them for long but my experiences with them have
been pleasant enough thus far.

They're great for creating a template for your site in fact that's what
they're there to do.

You can arrange your template exactly how you want to using the same
methods you would an existing page (css, tables ...)

Within your master page you set content placeholders, then all you do
is add a page to your project and it will prompt you to select a master
page you want it to belong to.

Plus points - it's a fast way to create a standardised looking site,
with very little effort, and all the flexibility of html / css.

Bad points - I haven't come across any yet. (That's not to say they
don't exist) Like you I'm a software developer but I have not been
using .Net 2.0 for long.

It's horses for courses like most things: If what you want is a
standard looking site with the same menu / look and feel for each page
then they are just the thing for you. If you want a site where each
page is very different then probably best left alone.
 
J

johannblake

Thanks for the helpful insight. I want the website to have a consistant
look and feel so that I can update menus, headers and footers in one
location. It appears that Master Pages is what I am looking for.
However, I have just been reading about Themes and I am somewhat
confused. The Microsoft docs indicate that Themes are designed to do
more or less the same thing as Master Pages. But there is obviously a
differences between the two. Have you any knowledge about what Themes
are about and their relationship to Master Pages?

Thanks
Johann
 
R

Richard Brown

I agree what you describe sounds like it best fits master pages.

In all honesty I have not used themes before but my understanding of
them are that they are akin to css in classic asp, in that they are set
up in your project to describe a consistent feel to your server
controls.

There may be more to them than this like I say I've not used them
myself. The enclosed link seems to be a good overview of them and how
to implement them.

http://www.codeguru.com/vb/vb_internet/aspnet/article.php/c7937__1/

I guess that the main difference is that the masterpage contains
content as well as formatting.
 
C

chaz

Have you ever used Master Pages? If so, I'd appreciate some comments on
their usefulness, good points and bad points.

Master pages are extremely useful for common markup. You can have as many
master pages as you'd like. Nesting is supported. With this scheme, you
can create a master template with company logo. Then each department can
have it's own nested master page with a common banner strip or customized
menu, and so forth.

Master pages are very beta IMHO. The "visual" portion of VS won't work on
nested master pages. Intellisense slows down. There's a known bug where
intellisense breaks altogether unless the master page is opened in VS. That
is, the mymasterpage.master file needs to be opened for editing. Weird, I
know. Master pages are a very peculiar one-way road that offer a lot of
advantages but hampers some of the editor bells and whistles.

The more you deviate from the beaten path in VS, the more you'll wrestle
against it. This is somewhat tragic as it leaves a choice between a
drag-and-plop looking website (but with rapid development) and a very nice
customized website (with pretty significant toolset issues). VS itself
won't handle much customization. I doubt a third-party tool will either.

If you do decide to use Dreamweaver, shoot for mockups. Macromedia, cough,
Adobe, has decent integration between the graphic suite and web development
suite. It's not perfect either. But its a good rapid start for proofing
concepts and communicating ideas. I doubt you'll find much success
integrating Macromedia products on a daily basis with Microsoft products.

HTH.
 
J

Jim Cheshire

Master pages are very beta IMHO. The "visual" portion of VS won't work on
nested master pages. Intellisense slows down. There's a known bug where
intellisense breaks altogether unless the master page is opened in VS. That
is, the mymasterpage.master file needs to be opened for editing. Weird, I
know. Master pages are a very peculiar one-way road that offer a lot of
advantages but hampers some of the editor bells and whistles.

The more you deviate from the beaten path in VS, the more you'll wrestle
against it. This is somewhat tragic as it leaves a choice between a
drag-and-plop looking website (but with rapid development) and a very nice
customized website (with pretty significant toolset issues). VS itself
won't handle much customization. I doubt a third-party tool will either.

It does stink that the current VS version doesn't support nested
masters in the designer, but I'm unaware of any "known bug" that
causes IntelliSense to not work unless the master is open. I am unable
to reproduce it either.

As for deviating from the beaten path, I seriously disagree with your
comments. VS 2005 (and specifically ASP.NET 2.0) is designed with just
that in mind! Just look at things like the provider model and adapters
in ASP.NET 2.0. Those are two excellent examples of technology built
into the product that _encourage_ developers to stray from the beaten
path, and your experience in doing so will be one of amazement in just
how cool the technology really is.

Jim Cheshire
Jimco Software
FrontPage Add-ins and Software Reviews
http://www.jimcosoftware.com

Author:
Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Expression Web Designer
 
C

chaz

Jim Cheshire said:
It does stink that the current VS version doesn't support nested
masters in the designer, but I'm unaware of any "known bug" that
causes IntelliSense to not work unless the master is open. I am unable
to reproduce it either.

"Known" referred to known by Microsoft, albeit it was reported in their beta
testing. When I searched for the error, I found at least 100 hits on the
issue on google. The solution discovered by others was to open the master
page.

This was an intellisense issue. Intellisense is flaky regardless. It lags
real-time by quite a bit under normal use. But for this particular error,
it lost its bearings completely and refused to work. Each asp tag was
scored as an error. Because it was an intellisense bug versus an
application bug on my behalf, the site still compiled and worked fine.
As for deviating from the beaten path, I seriously disagree with your
comments. VS 2005 (and specifically ASP.NET 2.0) is designed with just
that in mind! Just look at things like the provider model and adapters
in ASP.NET 2.0. Those are two excellent examples of technology built
into the product that _encourage_ developers to stray from the beaten
path, and your experience in doing so will be one of amazement in just
how cool the technology really is.

I think anyone is hard pressed to defend the directives, macros,
underscores, mirrored libraries, and wizards that Microsoft has adopted over
the years. The initial choices for the neophite is to either embrace this
collection of language and framework "warts" or reinvent a better framework.
The time investment of the latter is very strong discouragement against
doing things the non-Microsoft way.

Common Questions:

How can I pass form variables from one page to another? Microsoft didn't
conceive using its product this way. Pick a work around. Save the form as
a session variable (sheesh), use redirect and a casted reference to the
previous context with getters and setters (even worse), or use the query
string (worst of all). I don't know. I guess a experienced programmer
might extend the Page class such that it collects form variables and a
timestamp and carries it forward in the session. At least then the
recommended work around wouldn't have to be implemented for every single
form key for every single page. But then again, that would likely interfere
with Microsoft's form security.

How can I use code in a binded context? Well, you can't. <%# is a featured
shortcut Microsoft offers which supports lvalue functions and expressions.
You have to write throwaway format methods for any custom data formatting
you want. This is not very object oriented. And it hardly separates
presentation, model, or data.

Anyway, there are a million others. I think people who use VS 2005 the Wrox
way have no issues. And they end up with a very Front-Page-ish looking
website. For others, development time decreases to 20% of comparable tools.

But that's my two cents worth. It could be that I need to stop resisting.
<g>
 
G

gerry

roughly speaking , master pages allow for consistent layout whereas themes
allow for consistent look and feel
use a master page to specify where things are positioned and a theme to
specify how things look.
 
J

Jim Cheshire

"Known" referred to known by Microsoft, albeit it was reported in their beta
testing. When I searched for the error, I found at least 100 hits on the
issue on google. The solution discovered by others was to open the master
page.


Yes, when I said that I'm unaware of a known bug, I meant there is no
such bug known by Microsoft. However, there is such an issue where a
MP that derives from the class in another MP or where you are using
nested masters. However, this does not happen with just a plain MP and
is not specific to MPs.

Common Questions:

How can I pass form variables from one page to another? Microsoft didn't
conceive using its product this way. Pick a work around. Save the form as
a session variable (sheesh), use redirect and a casted reference to the
previous context with getters and setters (even worse), or use the query
string (worst of all). I don't know. I guess a experienced programmer
might extend the Page class such that it collects form variables and a
timestamp and carries it forward in the session. At least then the
recommended work around wouldn't have to be implemented for every single
form key for every single page. But then again, that would likely interfere
with Microsoft's form security.


This is a limitation of the connectionless nature of HTTP. This
doesn't have anything to do with ASP.NET. You will see the same
problem with PHP, JSP, or any other Web-based application
infrastructure.
Jim Cheshire
Jimco Software
FrontPage Add-ins and Software Reviews
http://www.jimcosoftware.com

Author:
Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Expression Web Designer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,732
Latest member
ArronPalin

Latest Threads

Top