Reference from: http://konrness.com/php5/how-to-prevent-blocking-php-requests/ — Many people are aware that modern browsers limit the number of concurrent connections to a specific domain to between 4 or 6. This means that if your web page loads dozens of asset files (js, images, css) from the same domain they will be queued up to […]

1,094 total views, 2 views today

Một trong những khó khăn cho những ai mới làm quen với AngularJS đó là vấn đề sử dụng new isolate/isolated scope (scope: {…}) của directive. Đối với vấn đề sử dụng loại {scope: true} hoặc {scope: false}, các bạn có thể đọc bài sau để hiểu rõ hơn: Understanding […]

1,354 total views, 2 views today

Reference from: http://www.2ality.com/2015/08/getting-started-es6.html — This blog post helps you to get started with ECMAScript 6 (ES6): It explains how you can interactively try out ES6. It lists ES6 features that are easy to adopt, along with how those features are coded in ES5. Trying out ECMAScript 6 There are three simple […]

1,357 total views, 2 views today

Reference from: http://techtalk.vn/thiết-kế-restful-apis.html — Hôm rồi thấy anh bạn share document về RESTful APIs của Shoptify, tự dưng nghĩ đến hình như chưa có bài viết nào bằng tiếng Việt về cách xây dựng RESTful APIs mặc dù vấn đề này đã khá phổ biến. Vậy nên tôi viết bài này, […]

1,320 total views, 2 views today

Reference from: http://www.sitepoint.com/front-end-tools-favorite-finds-2015 — We’re just about at the end of 2015 and I’m sure you’d all agree it’s been another year jam-packed with new tools for web design and development. While doing my newsletter I’ve come across lots of interesting things, so I thought it would be cool to summarize […]

4,956 total views, 4 views today

Reference from: http://chariotsolutions.com/blog/post/angularjs-corner-using-promises-q-handle-asynchronous-calls/ — The AngularJS $q service is said to be inspired by Chris Kowal’s Q library (github.com/kriskowal/q). The library’s goal is to allow users to monitor asynchronous progress by providing a “promise” as a return from a call. In AngularJS, the semantics of using a promise are: var promise […]

1,429 total views, 4 views today

Reference from: http://ilikekillnerds.com/2014/11/constants-values-global-variables-in-angularjs-the-right-way/ — The subject of global variables in most languages is enough to bring the most passionate code junkies out of the woodwork ready to debate and bite off your feet for even entertaining the thought. The reality is in a framework like AngularJS globals are warranted at times, […]

1,348 total views, 4 views today

Reference from: http://www.sitepoint.com/5-responsive-design-pitfalls-and-how-to-avoid-them/ — Picture this. You’ve just created a responsive masterpiece, and then you check it out on a mobile device. Things break in ways you never would have expected. Text is going haywire, animations are choppy, and your forms don’t look anything like how you styled them. You spend […]

984 total views, 6 views today

Reference from: https://github.com/angular/angular.js/wiki/Understanding-Scopes — Executive Summary: In AngularJS, a child scope normally prototypically inherits from its parent scope. One exception to this rule is a directive that uses scope: { … } — this creates an “isolate” scope that does not prototypically inherit.(and directive with transclusion) This construct is often used […]

1,499 total views, no views today