Developing Web Applications Today

Download Report

Transcript Developing Web Applications Today

Developing Web
Applications Today
Jean-Luc David
Developer Advisor
Microsoft Canada
[email protected]
http://blogs.msdn.com/cdndevs/
Our Journey
_realDEVELOPMENT_05
ASP.NET AJAX
User Group
Tour
Developing
Web
Applications
Today
Building Better
Websites
How many of you have
developed websites?
Canadian Pee Wee
Hockey League
Common questions from
Canadian Web developers…
"How do I make my Web
application more secure?"
"How can I make my website more
accessible and compelling?"
"How do I make sure that my code
works in all browsers?"
"How can I troubleshoot problems
with HTML, CSS and JavaScript?"
"How can I troubleshoot problems
with HTML, CSS and JavaScript?"
Security
Where we are today
•
•
•
•
Increased attacks
Increased complexity
AJAX
Web Services
Start from the beginning
OSI Model
Application
Web Services
Presentation
XML/HTML
Session
HTTP
Transport
TCP
Network
IP
Data Link
Ethernet
Physical
CAT5/WLAN
Plan for security in advance
http://blogs.msdn.com/threatmodeling/
Use best practices & checklists
Consider browser security
+
http://blogs.msdn.com/ie/
demo
Security Tools & Techniques
Accessibility & Usability
"…When you've scaled Everest, inaccessible
technology is merely another mountain to
climb…For blind people, if you can't access
the Web, you kind of spiral away. For
many of us, it's the only access to
information we have…"
- Erik Weihenmayer
Chicago Tribune, January 18th, 2003
My Website Statistics
• 78% Internet Explorer
• 11% Mozilla
• 3% Safari
• 8% Other /Unknown
http://blogs.msdn.com/ieblog/
Use Cross-Browser XHTML Code
<html>
<xhtml>
<xhtmlconformance mode="Strict">
Check for Accessibility
Content
http://webxact.watchfire.com
Validate your Code
http://validator.w3.org
demo
Making Websites Accessible
Interactivity
Your Users Want Better Experiences!
•
•
•
•
•
•
Pageflow
Control
Error Management
Response Time
Flexibility
Rollback
Challenges with AJAX
• Visibility
• Performance
• Maintainability
30k or 200k?
http://ajax.asp.net
XMethods.net
http://dev.live.com
•
•
•
•
•
•
Rich Media
Photos
Contacts
Maps
Search
Authentication
demo
Creating Interactive Experiences
Debugging & Troubleshooting
Common Problems with JavaScript
• Null References
• Spelling
• Function Conflicts
• Typos
• Reserved Words
http://support.microsoft.com/kb/216528
Debugging with Visual Studio 2005
demo
Debugging & Troubleshooting Websites
http://www.imaginecup.com
Resources
http://blogs.msdn.com/cdndevs
What's Next?
• 30 Minute Break
• Session #2: Building Better Websites
 How to build websites using best practices
 How to incorporate compelling features
 How to increase website performance
 How to debug, test and troubleshoot
your website
© 2007-2008 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.