Friday, August 31, 2007

Practice Makes Perfect

Now, I know I'm not the coding expert I would like to be, but it's not like I'm clueless on what I'm doing so far. I only have 3 solid years experience with CSS and XHTML, and most of that I taught myself!

My feathers got ruffled today at work. I was told not to code for the time being, which is understandable. One side of me takes this personally, as a web designer. The other side sees this as only business, in that the designs need to be completed by Tuesday. I'm trying not to take it personally. Really, I shouldn't, because most of the work is the coding.

But back to my experience... I know I'm just starting out in the real world. And right now, there's SO much I want to learn and do, and I have all these ideas running through my head for site designs. I just don't have the time right now to do anything of this. I mean, I read any books I buy practically the same day.

I will be a CSS and XHTML expert one day, maybe in 4 years. (I was thinking that having 7 years experience in the field is a good, rounded number.)

Friday, August 24, 2007

Include Files

This wasn't the first time I've created a web site from scratch. It was my time first, however, transferring XHTML files to an ASP.NET developer for publishing the site.

The way I go about creating a web site, - let's say a web page in this instance - is designing the comp or mockup in Photoshop. Then when this is approved, I start developing the page in Dreamweaver using XHTML and CSS. When this is approved and tested, it goes live. I'm really big on web standards, such as using XHTML 1.0 Transitional, ALT attributes for images, semantic markup, etc. So I try to stay on top of these things to let everyone view the web page properly with few or no errors. This reminds me that I should redo my own web site...

Anyways, so I develop the page in XHTML and CSS and zip everything together, images also, and send the .zip file to the .NET developer. There's a problem. The developer wants the XHTML file to be broken up into .inc files. What's an .inc file? I ask my husband, whose also an ASP.NET developer with 3 Microsoft certifications in .NET development, what an .inc file is. His answer was, "I can't believe people are still using these! This is old technology! I used to use .inc files, but that was a long time ago." I was shocked.

So, back at work I create these .inc files of the web page, along with the CSS included.

For those of you who don't know what an .inc file is, include file - it's a file, just like .htm or .xml - and it was used to store content information for web pages. A master page is created to pull these inc.files when the information is requested. This makes sense and this is how a master page works, but the content pages should be .aspx files - not .inc files. With .inc files, private information can be exposed. With .aspx files, this information is safely stored. Read more from W3C.

Back at work again, I take the time and cut up my beautiful HTML pages into .inc files as this .NET developer had requested. I even asked about the .inc files and why they were being used. The reply was that the .NET developer wasn't using the .inc files. Then why am I creating them!?! What a waste of time for both of us!

I stopped creating them since the .NET developer wasn't using them. I just sent .zip files with the XHTML, CSS, and images of the web page.