background preloader

Dev

Facebook Twitter

Fb login

Facebook. Facebook connect. Autoscroll. Stackoverflow. Git. Shell. E-commerce solutions. CoffeeScript. Online regex tester and debugger: JavaScript, Python, PHP, and PCRE. Tmacam/private-git-on-dreamhost. Create a Localized Web Page with PHP. The process of making your applications/websites usable in many different locales is called internationalization, While customizing your code for different locales is called localization.

Localization is the process of making your applications or websites local to where it is being viewed. For example, you can make a website more local to a particular place by converting its text to the predominate language of that location and by displaying the local time (e.g. German for people living in Germany or French for people living in France). Yahoo and Google have examples of localized sites: Google.com (US), Google.co.uk (UK), Yahoo.jp (Japan) and so forth. Creating a Web site that is useful to speakers of different languages is a breeze using PHP. The Structure of a Localized Web Page In this example, the user will choose one of three languages and the website will then display a welcome message in the chosen language.

PHP Script with Locale-specific Data The Welcome Message Text. Caching - Cache control and expires header for PHP. Hosted Libraries - Developer's Guide - Make the Web Faster. Initializr - Start an HTML5 Boilerplate project in 15 seconds! Five Things You Should Know About HTML5. You are here: Home Dive Into HTML5 1. It’s not one big thing You may well ask: “How can I start using HTML5 if older browsers don’t support it?”

But the question itself is misleading. HTML5 is not one big thing; it is a collection of individual features. So you can’t detect “HTML5 support,” because that doesn’t make any sense. But you can detect support for individual features, like canvas, video, or geolocation. You may think of HTML as tags and angle brackets. Chapter 2 and Appendix A will teach you how to properly detect support for each new HTML5 feature. 2.

Love it or hate it, you can’t deny that HTML 4 is the most successful markup format ever. Now, if you want to improve your web applications, you’ve come to the right place. Read all the gory details about HTML5 forms in Chapter 9. 3. “Upgrading” to HTML5 can be as simple as changing your doctype. 4. Each chapter of this book includes the all-too-familiar browser compatibility charts. 5. HTML5 is here to stay. Dive Into HTML5. Easy Authentication with CodeIgniter. Design Patterns. The original publication date of the book was October 21, 1994 with a 1995 copyright, and as of March 2012, the book was in its 40th printing.

The book was first made available to the public at OOPSLA meeting held in Portland, Oregon, in October 1994. It has been highly influential to the field of software engineering and is regarded as an important source for object-oriented design theory and practice. More than 500,000 copies have been sold in English and in 13 other languages. The authors are often referred to as the Gang of Four (GoF).[1] Introduction, Chapter 1[edit] Chapter 1 is a discussion of object-oriented design techniques, based on the authors' experience, which they believe would lead to good object-oriented software design, including: Use of an interface also leads to dynamic binding and polymorphism, which are central features of object-oriented programming.

The authors admit that delegation and parameterization are very powerful but add a warning: Case study, Chapter 2[edit] Software design pattern. There are many types of design patterns, for instance Algorithm strategy patterns addressing concerns related to high-level strategies describing how to exploit application characteristics on a computing platform.Computational design patterns addressing concerns related to key computation identification.Execution patterns that address concerns related to supporting application execution, including strategies in executing streams of tasks and building blocks to support task synchronization.Implementation strategy patterns addressing concerns related to implementing source code to support program organization, andthe common data structures specific to parallel programming.Structural design patterns addressing concerns related to high-level structures of applications being developed.

History[edit] Although design patterns have been applied practically for a long time, formalization of the concept of design patterns languished for several years.[5] Practice[edit] Structure[edit] Criticism[edit]

Tips

Scripts and tools. Articles. Ideas. Reading. Inspiration.