MikeBobiney.com Blogging for the fun, the fame and the fortune!

11Nov/080

PDC 2008 Web Related Videos

I've compiled a list of PDC sessions that cover topics related to the new features of ASP.NET and Visual Studio.

"Since 1991, the Professional Developers Conference (PDC) has been Microsoft’s premier gathering of leading-edge developers and architects. Attend the PDC to understand the future of the Microsoft platform and to exchange ideas with fellow professionals. You’ll learn about upcoming products, meet Microsoft’s leaders and top engineers, write some code, and be inspired! Unplug for a few days and think about the future."

ASP.NET 4.0 Roadmap
http://channel9.msdn.com/pdc2008/PC20/

ASP.NET and JQuery
http://channel9.msdn.com/pdc2008/PC31/

Microsoft Visual Studio: Web Development Futures
http://channel9.msdn.com/pdc2008/TL48/

ASP.NET MVC: A New Framework for Building Web Applications
http://channel9.msdn.com/pdc2008/PC21/

  • Share/Bookmark
8Sep/082

Google Chrome Browser Thoughts


For years we have been accustomed to the tabbed browser interface and how helpful this is to manage your browsing sessions. This trend in software has been so successful that its hard to imagine a browser without these tabs. There is no doubt that while viewing a large collection the potential it has to start tying up your computers resources and may not entirely give them back when you've closed the tab either. Another concern is that when one tab has a problem processing a request, your browser will likely crash and take all of your other tabs with it if you're not careful!

Its almost been a week now since Google's new Chrome browser has been released to the public and from what I've been seeing, the response has been overwhelmingly good. While its too soon to tell how much adoption the new browser will have especially to your average web user, if this past week is any indication of this then we may have one serious contender on our hands.

The idea behind the new browser was Google's acknowledgment of how much time we spend online conducting our daily business, whether it be online banking or sending email. Sites are being developed now that are capable of performing much more complex tasks than we would have ever imagined 15 years ago when web browser were first introduced. This realization has given way to finding a better browser architecture capable of dealing with the high demands of sites such as online word processors, airfare booking, maps and many other types rich internet applications.

So I guess the more important question is should you be using Chrome in its current development state? Do you like to jump in feet first and test the waters with a whole new experience? Are you not concerned with bugs, incompatibilities or worse.. potential security holes? Then by all means, this is your browser. Now don't get me wrong, this isn't trying to imply that there is anything wrong with treading new ground and pushing new technology. For myself though, I'll be mostly using Chrome as a fun new toy to experiment with rather than migrating over entirely. What I'm really interested in seeing is what will come out of the open source community that is actively working on the browsers core which I believe in time that we will see great things come out of the chromium project which powers Chrome. While there is no certainty that Google Chrome itself will come out on top when its all said and done, but there is no denying that it will be known as the browser that was at the forefront of a new undertaking in how we think about today's web applications.

Pros:
Introduces a new way of thinking about how browsers work
Innovate way of handling complex websites with V8 JavaScript rendering engine (complied)
The UI is simplistic (the browser should be transparent)
Everything is open source!

Cons:
Google is a company that is best known for it's services NOT it's software.
The UI is simplistic (I miss having my firefox plugins at my disposal)
As if web developers need one more browser to test on
Too early to tell its adoption rate

  • Share/Bookmark
27Aug/080

Clearing CSS Floats

Here's a quick tip that will be useful for dealing with content that "overflows" outside of the normal boundaries. Any web designer I'm sure has encountered this issue at some point or another and you may be surprised to find how easy it is to correct. In this example we have an outer div "main content" area in green with a gray div "column" floated to the left with more content than the area will contain given the column's width. As you can see in the example, the result is that the floated column extends beyond the lower boundaries of the outer div. This is less than ideal, especially when your site's content is generated dynamically.

CSS Content Overflow

This first solution has stood the test of time and is known as the clearfix method. This technique uses the :after pseudo-element which is supported by CSS2 compatible browsers. Unfortunately, this doesn't include Internet Explorer 7 and below. You may notice that there is actually two style blocks for our CSS and that is because we are using conditional comments that will target any Internet Explorer browser and use the proprietary hasLayout CSS attribute that must be commented or else your page will not validate.

<style type="text/css">

  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

</style><!-- main stylesheet ends, CC with new stylesheet below... -->

<!--[if IE]>
<style type="text/css">
  .clearfix {
    zoom: 1;     /* triggers hasLayout */
    }  /* Only IE can see inside the conditional comment
    and read this CSS rule. Don't ever use a normal HTML
    comment inside the CC or it will close prematurely. */
</style>
<![endif]-->

View Example #1

Another method uses an additional <div> element on the page with a style of "clear:both" which will force your container to accommodate the cleared element. While just as effective as any of the other methods, there is the concern of adding additional "meaningless" markup to your pages.

<div id="outer">
    ....
    <div style="clear: both;"></div>
</div>

View Example #2

Finally there is a relatively newly discovered technique which is quite easy to implement and is one which doesn't require additional markup. It simply involves adding a "overflow: auto" property to the outer <div> element.

Half an hour of testing later, I was amazed to find Paul was 100% correct - as this example shows. It seems that reminding the outer <div> that it’s overflow is set to ‘auto’, forces it to think "oh yeah.. I’m wrapping that thing, aren’t I?".

-Alex Walker, sitepoint.com

View Example #3

So there you have it, three different techniques that will help you clear all of those pesky float issues.

  • Share/Bookmark
22Aug/081

Creating online forms with Google Docs and WuFoo

Designing the login form was one thing, but how about if you wanted to create something a little more lengthy and use it to obtain meaningful data from your readers. Well you may just find what you're looking for using Google Doc's new form builder. This is just one of the products that Google offers as part of their online productivity suite. As always you will find that the interface is clean and only takes a couple minutes to understand how to get it up and running. You can also specify required fields which is a nice touch.

The form results are displayed to you in a nice pie chart. The actual data is output into a spreadsheet behind the scenes if you need to use it for any other reason which is a nice touch as well.

An alternative service that I also recommend is called WuFoo. This service is free to try and allows for further customization of your web forms. I kid you not when I say that seemingly everything that you could ever want is included with this service such as phone number and date fields which include custom validation messages built in. There is a monthly fee as your usage increases however.

For me personally, Google Docs does just fine for my needs. Feel free to give your ice cream preference if you'd like to try out a sample form.

  • Share/Bookmark
20Aug/080

Creating a login form with jQuery

Creating a login (or any form for that matter) can be trickier than it looks. After all how difficult can two text boxes a button and some labels be? There are different ways to accomplish this task, some using more proper semantically correct markup techniques than others. This example will attempt to give a real world case of how easy it can be to target elements contained inside the form with minimal scripting using the jQuery framework.

We'll first start out with some html markup, notice the lack of css class attributes or JavaScript event handlers present.

<fieldset>
	<legend>Log In</legend>
	<p id="loginResult">Invalid login.. try again.</p>
	<form id="login" method="post">
		<dl>
			<dt><label for="username">Username:</label></dt>
			<dd><input id="username" type="text" /></dd>
			<dt><label for="password">Password:</label></dt>
			<dd><input id="password" type="text" /></dd>
		</dl>
		<p><input type="submit" value="Login" /></p>
	</form>
	<small>u:username / p:password</small>
</fieldset>

The next step we take is to target each element down the list and assign it a css class. We do this by using jQuery's element specific selectors :text and :submit.

	$(function(){
		$('form#login :text').addClass('inputTextbox');
		$('form#login :submit').addClass('inputSubmitBtn');
	});

Next, we'll add the event handler for the submit button by using .click(). To make things easier on ourselves we could always shorten our code by chaining the click event at the end of our submit button selector which was already defined in the previous step.

$('form#login :submit').addClass('inputSubmitBtn').click(function() {
     // click event code
}

Throw in an animation for good measure to display a message for invalid attempts and you're good to go. Here is the full JavaScript code we're working with.

		$(function(){
			$('form#login :text').addClass('inputTextbox');
			$('form#login :submit').addClass('inputSubmitBtn').click(function(){
				if($('#username').val() != "username" || $('#password').val() != "password")
				{
					for(i=0;i<5;i++)
						$("#loginResult").animate({opacity: 'toggle'}, 500 );	

					$("#loginResult").fadeIn(500);
					return false;
				};
			});
	    });
  • Share/Bookmark

Greetings

Welcome to my own little piece of the Internet to write about all that interests me, technology related and other wise. Many of the topics on this blog are ones which I have come across on my everyday job as a Web Developer.

Twitter

LinkedIn

Mike Bobiney

Recent Posts

Archives

Meta

xeex430503 werewolf features tic tac wildberries agua caliente resort true flare shower door plexiglass plume de les fleming jorgensen stampaway convention and opera penn statutes auditorium rochester ny barton grosse ile mi sharon montague easter activities crafts eggs origami eton e10 charging problem anything to survive je ne te connais pas translation carpet caster bobbi hubner olga raz r d content area visualization jeep backround myspace quite aire blackberry aim system requirements tribal food safety statutes ordinances makita lxt door lock schematics 1996 lincoln frederick alison rowe wedding vision 1 boiler controler zone control capm apt formula jo bee bee pollen pills weather in outer banks nc flying fifteen melbourne wilts and berks canal lowest co2 emissions eastland ghost chicago river picture commercial buildings for rent lease chevy 305 stroker kit photo lebron dunk tim duncan privacy on your deck monroe county court records bridal shows dfw traumatic retinal detachment ted waterman oriental chicken salad receipts parachuting spiders kohler air cooled engine parts how do echinoderms obtain oxygen sentence and fragment worksheet luzon king charlemagne catfish klonk thomas more college edgewood wolfson 24-bit dac oc 1 outrigger prices alabama death record triple s rug cleaning norwalk ct reasons for being dizzy emachines p4 powersupply exercise induce asthma 2005 harley davison motor assemble dog collar black white polka dots anatomy coloring pages chippewa county michigan map is cdma digital or analog recette rapide pate austin washburn 2006 burton day hiker broken necks in football youtube vedeos riddles and there answer johnney and the sprites thank you led zepplin the timbers oakwood chico incidence of tbi among military lyrics to take this waltz ktm dirt bike mechanical manuel christian clowns grindhouse international harvester millenia salon spa in easton pa free fortune readings online notice of exclusion from pers membership free raggedy ann pattern sugars tea room clair engle lake said debates on homework critical thinking answer examples anders heller hilts auto san carlos ca anthracnose mondo grass symptoms dr fred lutz crawfordville 1960s chinese anthem the east medcalf frisco tx swell maps nikki sudden dies toshiba america tv parts bullard high photographer pros and cons of polygamy moorestown pa real estate graden chairs and tables hire bedfordshire rafael reyes arce mercadotecnia pol tica electric bagpipe writer darrell bacon chester pa redaccion del problema de investigacion amor automatico personnel management today claremont hospital cape town tool hangers and hardware car kleen car wash concentrate better business bureau gutter repair memphis sopranos story line microwave 6611 tamagotchi town street map santiago chile define bisque omd poly sinking boat photo deuce biglow apostolic council of prophetic elders rick steves canada fouquet jean nicolas 2001 oldsmobile intrigue sci-fi knights restoring prosperity sandlot investment katrina slidell la brain capability blackburn trackstand fluid littlest pet shop no 825 dh dpt jack mccall shoots wild bill hickok hairspray explosive detector lakenheath airforce base 47 news jacksonville fl great forest park balloon race 2007 nissan quest dvd remote national assocation of event planners strafford hotel dover nh birdman nick five factor diet recipes fsx demo klara feldman celtics green news braun bodycruzer shoppers drug mart yahoo account opened during year2007 secret war oakland play combined health information database capp city diner columbus ohio queen size iron headboards grosso concerto newman st andrews at westcliff daniel boone the cumberland gap sublime wallpaper fixer upper boats for sale reward and retention schemes in dominos swine reproduction avaya 7311 lcd display group iii synthetic oil dragon ball gt everything com grand orient fr rikki andersen speer reloading data 30-30 john savage oaklyn nj badminton magazine tamron spotting scope geocities and mohegan indians parkview highschool breckenridge christmas day businesses gateway at sienna plantation apartment homes randy orton current girlfriend recitation by ahmed al anzi jalapeno cheese popper recipe harlequin dwarf lop rabbits pvc commodities breeder composting recipe hoberman mini sphere orbiter harlem renaissance restaraunts timkin pinion gear bearings yves saint laurent contact 1940s dress patterns portage controls inc fabian nunez speaking against unions speedstream and linksys statistics anova new hampshire volkswagon dealers stonewall cable pizza hut italian bistro in missouri jealousy and abandonment shapes maths printers dana doudou ryan noble key largo condo ocean city md los caprichos by goya herb chambers dodge star wars ball hopper geauga county property search the big idea with donny deutsche compaq nx7010 errors in device manager saint etienne caen most complicated software pa rum pa pum song closure canada packers winnipeg electrical resistivity method for groundwater exploration 7 segment led display unit bed and breakfasts in norfolk virginia free knight avatars burris signature 2-8 specifications norma shearer ring added spaces nova scotia lucas county recreation center maumee jeep patriot saftey ratings livewell cooler north dakota department of transpotation kenwood 100watt uhf base station anne hathaway brokeback video tailor bunion removal of bursa sack giant ocr tektro truvativ 6061 rockcrete clare suzanne mcneil east coast distributers tate county tax accessor coin in beer can trick san jaun capistrano mission hard wax hair removal troubleshooting ground faults on fire alarms when hell freezes over similar sayings dedicated health services pvt limited india thomas benton reed book emanuel crunch time cheltenham pennsylvania real estate hot tapping machines barclay mastercard gem general music sapphire john dolan pittsburg finance outlander 800 rear suspension the beach reporter newspaper cv ambler theater pam armstrong greek symbols planets sea devils and accesseries actionfigures charm glow grill junior high youth group lessons betula birkenstock sandals solo handbell ringer sheet music taxonomy of pinto beans natural things to do for fibromyalgia noth face boots ibis bird guidelines for writing in apa style snoqualmie massage tom barrett impeachment clinton mla 600 coagulation dungeons and dragons rpg dice open an ayurvedic clinic rion exploited teens food processing metal detectors cintex african folk trilogy credit cards salute visa card ozzy mama i comming home brian mcbride to chicago fire slugger sb105 forest lawn fond remembrance crypt 6417 raymond croze introduction for latest work in metrology float fade firefox disposable helium gas cylinders cra policy rhein main bombing mayberry deputy badge crain h d air lifter san antonio convention center nole fan fsu marketing manager mayfield dairy rapidshare duran duran come undone review of the personality assessment inventory joao leandro bueno los flames free advise on picking nfl games the pig pen 650 california kaiser insurance providers ppo magnum 44 claber groupe lisi chinese ting gazebo view cart candle fragrance oil cranberry juice toothache skidoo formula mx snomobile skis covered motercycle requirements att page pac plus plymouth and brockton railway extreme cellists river city rascals baseball bridgestone firehawk tires loren morris robert montraville blythe top 10 accountancy firms in ireland patient centered technologies swarovski or austrian crystal broach tracing papers beanie sigel gets dropped gaming projectors hm courts suzanne somers protein bars robert m samuels golf contest glenview map sahara desert berber cascada what hurts he most rumble and frenzy earphones hoover wind tunnel bagless canister vacuum griffiti creators the star wars kid kills himself real men of genius bud light rs232 temperature caught my sister inserting a tampon galaxie lightweight un shin bup nicholas neptune babnana splits left 4 dead storyline four eared bunny ascot distributers santa barbara ca genetics of hardy perennial hibiscus seiko original watchband hugh hefner pajama pics sal amendola email physicians choice classic memphis wrestling spainish mane immaculate conception school in wellsvile ny retrain the off the track thoroughbred mary fischer bryant tx christine e wilkinson loc on titan neutrogena instant bronze scott allan wertenberger dairy farm methane capture methodology nee knapp picture of 12 zodiac signs baskin robbins calories maintaining stability and positive morale micro trak 3000 ag sprayer monitors chicago bulls intro towable backhoe plans rv pedestals pagoda kit microsoft virtual server login dr michael hahn complaints folding laundry sorter jeanne loveless preview love fool by just jack