Forum Moderators: mack
- CSS for positioning (no more tables)
- I like using the Dreamweaver templates but find it a pain to upload the pages each time. Is it sensible to code each new page from a template that uses SSI for nav bar, footer etc. so I only need to change and upload the included pages?
If anyone has some advice on the above or what they consider 'essential knowledge' I would appreciate it.
Certainly CSS-2 (or CSS-P[ositioning]) is one of the key areas to learn. Abandoning tables in favour of layers has a number of advantages in the areas of speed and SEO (Search Engine Optimisation). On the SEO front it allows you to bring your content to the top of the page, yet still positioning it where you want.
Another area you could/should look into is JavaScript with a view to some handy client-side scripting and dHTML. dHTML is a mixture of JavaScript, CSS and DOM (Document Object Model) manipulation.
XHTML is another area you could look at - it has superceded HTML4.01 as the W3C recommended standard for presentational layer scripting.
Some server-side languages (ASP, PHP etc.) is a definite must for building dynamic, eCommerce database driven sites.
HTH
BlobFisk
I want to get my site under control and easier to manage before it grows too large so thanks once again for the tips.
Dino_M is .Net your first web language or are you versed in another language?
I want to get my site under control and easier to manage before it grows too large so thanks once again for the tips.
No matter what language or technology you use server-side scripting should help you accomplish this.
I had a 3meg site reduced by 20% using CSS and another 20% using server side includes for repetitive code...like the doctype,charset and encoding tags at the top of each page for example.
after moving from a shaky setup of asp/access...i reduced the size of the site another 20% after switching to php and mysql which i started picking up.
The site more or less looks and acts the same (its a simple site), but the extra help from PHP and such has made the site more compact.
The W3C is probably an excellent place to start, if a little daunting for beginners (and non-beginners I guess) because of its sheer volume, but to put it mildly - they know their stuff.
after moving from a shaky setup of asp/access...i reduced the size of the site another 20% after switching to php and mysql which i started picking up.
BOL was this hand coded asp or was it front page to hand coded php? 20% sounds like a lot. I have not ever really seen asp cause that much bloat. I guess it all depends on what you are doing but usually asp and php are head to head as technologies go. One does some stuff better and the other does something else better.
I originally was going to use HTML CSS and JavaScript for my site but Developer lad convinced me I may as well learn ASP.NET as it is the way forward.
djriches my transition from where you are was to learn javascript. You may find that a little easier transition. Server-side will open up a whole new would but you may find javascript a little more comfortable for your first programming language.
I originally was going to use HTML CSS and JavaScript for my site but Developer lad convinced me I may as well learn ASP.NET as it is the way forward.
However, if you want to do front-end development and client side stuff, you're still going to have to learn html/xhtml, css and JavaScript.
ASP.NET is a server-side development language and you still need to know the front-end stuff to meld you ASP code into the presentational layer.
As for ASP.NET being the way forward, I think it's too early to tell. I'm an avid ASP 3.0 head, however as korkus2000 mentioned, ASP.NET still has it's teething problem.... and you can never discount the power and speed that a PHP SQL/mySQL/PostgreSQL combination has.
BOL was this hand coded asp or was it front page to hand coded php?
The savings are a rough estimate from switching over. The ASP code was probably a bit 'over' bloated from its automatic generation but most of the saving came from the db. :)