[Book] Professional JavaScript for Web Developers, 3rd Edition

Book Description

A significant update to a bestselling  book

As the key scripting language for the web,  is supported by every modern web  and allows developers to create client-side scripts that take advantage of features such as animating the  tag and enabling client-side storage and application caches. After an in-depth introduction to the JavaScript language, this updated edition of a bestseller progresses to break down how JavaScript is applied for web  using the latest web technologies. Veteran author and JavaScript guru Nicholas Zakas shows how JavaScript works with the new 5 as well as other significant advances in web  as it relates to JavaScript.

  • Begins with an introduction to JavaScript basics and then moves on to more advanced topics regarding JavaScript and advances in web  technologies
  • Describes how JavaScript is implemented into 5
  • Covers /feature detection in scripts, event-driven JavaScript development, error reporting and debugging, offline application and data storage, and more

Professional JavaScript for Web Developers, 3rd Edition is an authoritative JavaScript resource that every web developers should have.

Read more…

[Book] The Linux Command Line: A Complete Introduction

Book Description

You’ve experienced the shiny, point-and-click surface of your computer—now dive below and explore its depths with the power of the  line.

The   Line takes you from your very first terminal keystrokes to writing full programs in , the most popular Linux . Along the way you’ll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more.

In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from  supercomputers of yore.

As you make your way through the book’s short, easily-digestible chapters, you’ll learn how to:

  • Create and delete files, directories, and symlinks
  • Administer your system, including , package installation, and process 
  • Use standard input and output, redirection, and pipelines
  • Edit files with , the world’s most popular text editor
  • Write  scripts to automate common or boring tasks
  • Slice and dice text files with cut, paste, grep, patch, and sed

Once you overcome your initial “shell shock,” you’ll find that the command line is a natural and expressive way to communicate with your computer. Just don’t be surprised if your mouse starts to gather dust. Read more…

Lời chúc đầu năm 2012

Chào các bạn, bạn đọc, thành viên của blog Open.

 Vậy là một năm cũng đã qua đi,tạm biệt năm Tân Mão, chúng ta cùng nhau chào đón năm mới, Nhâm Thìn. Mọi buồn phiền, ưu tư, những thất bại của năm cũ, tạm thời hãy quên đi. Tạm thời thôi nhé, vì chúng ta còn cần nghĩ lại để rút kinh nghiệm về sau. Hãy đón chào một năm mới với bầu nhiệt huyết sôi sục của sức trẻ, với biết bao dự định, kế hoạch.

 Blog Open xin trân trọng cảm ơn bạn đọc đã quan tâm, ghé thăm, đóng góp cho blog. Hoàng Hải đã nhận được rất nhiều email từ các bạn, có lời cảm ơn, có những thắc mắc. Hoàng Hải thật sự rất lấy làm tiếc vì không thể giải quyết hết những thắc mắc của các bạn. Trong số những bài viết của Hoàng Hải, có những bài copy về và chia sẻ lại, vì vậy kiến thức khong được chuyên sâu. Hoàng Hải sẽ tập trung những bài viết của mình vào những chủ điểm cụ thể. Hoàng Hải rất mong sự đóng góp của các bạn, những người làm nên thành công của một blog.

Nhân dịp năm mới, Hoàng Hải xin kính chúc các bạn và gia đình An Khang, Thịnh Vượng. Thân :)

Hoàng Hải

Suy luận

1. Nếu bố anh nghèo, đó là số phận của anh. Nếu bố vợ nghèo, đó là sự ngốc nghếch của anh.

2. Ai cũng nên cưới vợ. Suy cho cùng, hạnh phúc không phải là thứ duy nhất có trên đời này.

3. Tôi sinh ra thông minh. Giáo dục làm tôi hỏng.

4. Làm việc để trở nên hoàn hảo. Nhưng không ai hoàn hảo cả. Vậy tại sao phải làm việc ?

5. Tôi đến đây để giúp đỡ mọi người. Vậy mọi người đến đây làm gì ?

6. Ai nói rằng tiền bạc không mua được hạnh phúc là vì họ không biết mua ở đâu thôi. Read more…

[Book] Object – Oriented JavaScript

16/01/2012 1 comment

Book Description

Once listed in the “nice to have” sections of job postings, these days the knowledge of  is a  deciding factor when it comes to hiring web developers. And rightly so. Where in the past we used to have the occasional few lines of embedded in a web page, now we have advanced libraries and extensible architectures, powering the “fat-client”, -type rich internet applications.

 is the language of the browser, but it’s also heavily employed in many other environments: server-side, desktop applications, application extensions and widgets. It’s a pretty good deal: you learn one language and then code all kinds of different applications. While this book has one chapter specifically dedicated to the web browser environment including , events, and  tutorials, the rest is applicable to all the other environments too.

This book treats JavaScript as a serious  language, showing you how to build robust, maintainable, and powerful libraries and applications. Along the way, we cover many of the recent innovations such as AJAX, , and interesting design and coding patterns. After reading this book, you’ll be prepared to ace your JavaScript job interview and even impress with some bits that the interviewer maybe didn’t know. You should read this book if you want to be able to take your JavaScript skills to a new level of sophistication.

Create scalable and reusable high-quality JavaScript applications and libraries using the concepts of 

Read more…

Tìm hiểu cơ chế hoạt động của Fstab trong Linux

Nếu bạn là người thường xuyên sử dụng hệ điều hành Linux thì chắc hẳn sẽ có lúc cần phải thay đổi tùy chọn hoặc thiết lập của file hệ thống. Trong bài viết dưới đây, chúng tôi sẽ giới thiệu với các bạn về fstab – có thể giúp chúng ta đơn giản hóa quá trình thực hiện trên.

Vậy Fstab là gì?

Hiểu nôm na rằng đây là bảng các file system của hệ thống trong hệ điều hành. Trước kia, đây là cách chủ yếu để hệ thống kết hợp các file theo cách tự động, nhưng ngày nay chúng ta chỉ cần cắm ổ USB hoặc bất kỳ thiết bị lưu trữ bên ngoài nào với máy tính thì hệ thống sẽ hiển thị thông báo trên khay hệ thống tương tự nhưWindows hoặc Mac. Nhưng đôi khi trong những tình huống đặc biệt thì người dùng phải chỉ định rõ những ổ đĩa, phân vùng nào chính xác để kết nối vào hệ thống bằng lệnh mount.

Như phía trên đã đề cập tới, khi người dùng chỉ định rõ ràng thiết bị nào sau khi kết nối với máy tính thì hệ thống sẽ tự động kết hợp thành 1 phân vùng mới. Và đây cũng là lúc fstab tỏ ra hữu ích. Giả sử rằng chúng ta kết nối ổ cứng bằng chuẩn IDE hoặc SCSI, sau đó máy tính sẽ tải các file hệ thống cần thiết theo nhiều thứ tự khác nhau, và do vậy có thể gây ra nhiều xáo trộn. Fstab được cấu hình, thiết lập để tìm kiếm từng thể loại file hệ thống riêng biệt, sau đó kết hợp chúng theo trật tự thống nhất, qua đó sẽ giảm thiểu được rất nhiều tỉ lệ lỗi xảy ra.

Read more…

Sự tích Táo quân

Không khí Tết nhộn nhịp bắt đầu kể từ ngày “tiễn” Táo quân về chầu trời vào ngày 23 tháng Chạp. Táo QuânTáo Vương hay Ông Táo trong tín ngưỡng dân gian Việt Nam và Trung Hoa được xem là vị Thần cai quản việc bếp núc trong mỗi nhà, Táo (tiếng Hán) có nghĩa là bếp. 
tao quan ve troi
Ông Táo cưỡi cá chép về trời

Táo Quân trong tín ngưỡng dân gian Việt Nam có nguồn gốc từ ba vị thần Thổ Công, Thổ Địa, Thổ Kỳ của Lão giáo Trung Quốc nhưng được Việt hóa thành huyền tích “2 ông 1 bà” – vị thần Đất, vị thần Nhà, vị thần Bếp núc. Tuy vậy người dân vẫn quen gọi chung là Táo Quân hoặc Ông Táo do kết quả của thuyết tam vị thất thế (thuyết Ba ngôi) khá phổ biến trong các tín ngưỡng, tôn giáo. Bếp là bản nguyên của nhà khi người nguyên thủy có lửa và đều dựa trên nền móng là đất. Ở Việt Nam, sự tích Táo Quân được truyền khẩu, rồi ghi chép lại như sau:
Read more…

[Book] SAMS Teach Yourself HTML5 in 10 Minutes

Book Description

A quick, clear guide to using the exciting new features of  today

  • Practical, hands-on approach helps  designers or developers begin using  right away
  • Step-by-step directions show how to implement HTML5 video, drawing, drag and drop, forms, and more
  • Makes sense of all the competing claims and misinformation about what HTML5 is or isn’t

You don’t need to wait to begin using HTML5, the successor to HTML 4 and XHTML . HTML5 is now being implemented in the latest versions of all the major browsers, and with it come some of the most exciting and powerful advances in   technology in years. 

 HTML5 in 10 Minutes offers straightforward, practical answers for fast results. By working through the book’s clear, step-by-step examples, web designers or developers new to HTML5 can learn everything they need to know to quickly and easily get up to speed with HTML5.

About the Author
Steven Holzner is the award-winning author of 108 computer books and a contributing editor at PC Magazine. His books have sold 2.5 million copies and have been translated into 22 languages. He specializes in Web topics such as Facebook, banner ads, Google, Yahoo, and MSN pay-perclick campaigns, viral marketing, usenet marketing, and more. He also owns four apartment buildings that he markets exclusively on the Web (direct emails, banner ads, pay-per-click, email autoresponders, Craig’s list, rent.com, and about ten other advertising sites) to find tenants.

Read more…

[Book] Foundation HTML5 Animation with JavaScript

Book Description

Foundation  with  covers everything that you need to know to create dynamic scripted using the . It provides information on all the relevant math you’ll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, and forward and inverse kinematics. Foundation  Animation with is a fantastic resource for all  developers working in  or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.

You will learn how to utilize the amazing animation and physics-based code originally created by author Keith Peters in his hugely successful Foundation ActionScript Animation in all of your HTML5 applications. In no time at all, you’ll understand the concepts behind scripted animation and also have the ability to create all manner of exciting animations and games.

Read more…

[Book] The Definitive Guide to HTML5

Book Description

The Definitive Guide to  provides the breadth of information you’ll need to start creating the next generation of websites. It covers all the base knowledge required for standards-compliant, semantic, modern  creation. It also covers the full  ecosystem and the associated APIs that complement the core  language.

The Definitive Guide to  begins by tackling the basics of, ensuring that you know best practices and key uses of all of the important elements, including those new to . This section also covers extended usage of 3, , and DOM manipulation, making you proficient in all core aspects of modern  creation.

The final part of the book covers the associated W3C APIs that surround the 5 specification. You will achieve a thorough working knowledge of the Geolocation , web storage, creating offline applications, and the new drag and drop functionality. The Definitive Guide to 5 also dives into the key media enhancements of 5 and its surrounding technologies:  and .

Read more…

Follow

Get every new post delivered to your Inbox.

Join 118 other followers