background preloader

Javascript articles

Facebook Twitter

Large-scale JavaScript Application Architecture. Professional JavaScript Development - Creating Reusable Code. Learning JavaScript Design Patterns. Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language. One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we're attempting to solve.

Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we're attempting to convey a way of structuring a solution in code form to others. In this book we will explore applying both classical and modern design patterns to the JavaScript programming language. Target Audience This book is targeted at professional developers wishing to improve their knowledge of design patterns and how they can be applied to the JavaScript programming language. Acknowledgments Credits Reading We already use patterns everyday. Simulate Slow Internet Connection while Testing your Apps. So you have your Next-gen cool Web 2.0 application ready!

You have tested it on your LAN environment and on your high speed internet connection – all seems ok and you are ready to deploy it in the ‘real world’. A few hours later, you get feedback that your application does not perform well on slower connections. That hurts! Well the truth is that real world internet connections are much slower than you think. Your application end users may not always be broadband users but also people accessing your app through a dial-up connection, mobile sets, 3G or USB dongles. Now there are many tools that let you simulate slow network connections. Firefox Throttle is an extension that allows you to control download/upload rates and monitor current bandwidth utilization. The plug-in shows the current bandwidth utilization indicators in its Status panel as shown below and lets you quickly turn on/off throttling. You may also want to check out Sloppy Will you give this article a +1 ? About The Author. Simulate Slow Internet Connection while Testing your Apps.