WhiteSites Blog

Awesome AS3 tutorial

Jul 9, 2008 by Paul White

Today as I was searching the web for tutorials on Flash AS3. I came across a very nice tutorial.  This tutorial helps explain some of the main differences between AS1, AS2 and AS3.  Thus far I am liking AS3, but it does have a steep learning curve.  In AS1 and AS2 the language was very simple. It didn't require a lot of code to do anything. Even graphic designers who traditionally curse at the thought of coding were able to understand how to use flash.  AS3 is written for the hardcore programmer in mind.  This is good because it gives you more control over things, but the result is you write alot more code.   I tend to learn better from examples.  I see code formatted in a particular way. I see what is does, then I make changes to it, and see how it affects the results.  Learning how to Code with the new AS3 is like moving into a new big city.  After a while you get a logical feel for where everything is, and how to get from point A to point B.  This guy did an awesome job explaining AS3 in words and examples I understand.  Check it out!

Read
3642 Visitors
3642 Views

What is Cache

Jul 5, 2008 by Paul White

Recently one of my clients asked me this question.  Rather than getting into a detailed discussion of how the internals of a computer works, I made an analogy to help my client understand what cache is and what it does.  To hear my full analogy and a little history on cache read this entry.

Read
1934 Visitors
1934 Views

Using Caching to make your ASP.NET website more scalable

Jul 3, 2008 by Paul White

If you make dozens of SQL queries within a single webpage this is not the most scalable way to build a website.  ASP.NET supports Caching, allowing you to store information directly in the server's memory.  Here I give you a little information on caching and how to use it to make your websites load faster.


Read
1 Comments
15023 Visitors
15023 Views

Getting back into Flash with AS3

Jul 2, 2008 by Paul White

Its been a while since I have played around with flash.  I am finally getting around to building a new portfolio website for whitesites.com.  The current one gets the job done, but my potential clients aren't really given any taste of my flash skills.  Even though my current skill set could help build a very nice website, there are few things I specifically wanted to utilize in my new website.  The main one being the use of 3D.   Flash as a stand alone package does not support 3D.  If you want 3D you are left to program your own 3D engine using actionscript.  If you aren't a fan of Trig it could cause you some stress.  Thankfully there is an open source class called Sandy 3D, designed to run on Flash AS2 and AS3.  This gives developers a very easy way to integrating 3D into their Flash Apps.  Since AS3 is the latest and greatest to come out of Adobe, I will put my focus on catching up to learn it.  AS3 is a true Object Oriented Programming Language.  I am used to working with alot of C# in my asp.net Apps, so learning AS3 should be that bad.  But considering how intense it could be, I might actually buy a book on the subject.

Read
2953 Visitors
2953 Views

How to spot a Fake Developer

Jun 26, 2008 by Paul White

If you are in the market for a website, you will most likely approach several developers looking for quotes.  This is fine, but most clients don't know enough to see a fraud, or see a value.  They rush to the lowest bidder and then wonder why things don't turn out the way they wanted.  Here are several things to look for when building a new website.

Read
3 Comments
2279 Visitors
2279 Views

The Foreclosure Bubble and where its going.

Jun 24, 2008 by Paul White

The Media has put aflot of attention into foreclosures, but the number of foreclosures doesn't compare to the number that will happend in the future.  All it takes is to look back 30 years in history to see what happend the last time.

Read
2377 Visitors
2377 Views

HTTP black lists stop comment spammers

Jun 4, 2008 by Paul White

I got sick of seeing failed viewstate in my event logs. so I wrote some code that checks visitors against a HTTP blacklist.  I found that one of my blacklists was full of false positives.  Not that the given IP wasn't abusive at one point in time but I found it was full of proxies of which are frequently used by legitimate users.  After comparing some user logs I found that I was blocking a few of my member.  The HTTP blacklist from Project Honey Pot works, but had the problem with proxies as I stated above.  However one that I have had much better luck with is the one by stopforumspam.com.
If you are looking to stop comment spammers from seeing your site, I highly recommend them.  Read on for a code snippet that shows how I implimented this block

Read
3383 Visitors
3383 Views

A guys review of Sex and the City

Jun 2, 2008 by Paul White

sex and the city
Over the weekend, My wife and I went to see Sex and the City on the big screen.  I was dreading the experience.  I guess had set my expectation pretty low. assuming that I would be the only man in a theater full of women and gays.  But I was surprized.  Even though the crowd was mostly women, there were also quite a few couples too.  The movie in all was pretty good.  Not what I would consider a guys night out type of flick. But definately a good date movie.  Read on for my full review

Read
2872 Visitors
2872 Views

How to make your CSS look the same in IE and firefox

May 27, 2008 by Paul White

I was fighting some design issues on my client's new site.  But I found some CSS code that did the trick.  I guess the trick is to reset all your tags inside your CSS before starting to implement your own custom attributes.  If you have been struggling with getting your CSS to look the same on both your firefox and IE 7 pages. This code snippet will do the trick.

Read
1 Comments
6204 Visitors
6204 Views

Ethanol is not Green Energy

May 21, 2008 by Paul White

Recently there has been this notion of thinking that ethanol ( made from corn or other plants ) is part of what we call green energy.  It is not.  Green energy is when you are able to collect energy from something that is already there, but just not harnessed.  The only forms of green energy are water, wind, and light.  Everything else has to be manufactured and create some sort of waste.

Read
2233 Visitors
2233 Views