tailieunhanh - Tương tác giữa PHP và jQuery - part 1

Để hiểu đầy đủ về jQuery và các ứng dụng của nó trong lập trình web hiện đại, điều quan trọng để có một thời điểm và nhìn lại nơi mà jQuery đến từ, những gì cần nó được xây dựng để điền vào, và những gì đã được lập trình bằng JavaScript như trước jQuery đến xung quanh | Add quick smooth and easy interactivity to your PHP sites with jQuery P A R T 1 Getting Comfortable with jQuery In the first part of this book you ll be getting familiar with the history and basic capabilities of jQuery. By the end of this section you will have a general grasp on the overarching concepts behind jQuery and after you ve revisited object-oriented PHP in Part 2 you ll be ready to tackle the exercises in Part 3 where you actually start building a real-world project with jQuery and PHP . C H A P T E R 1 Introducing jQuery To fully understand jQuery and its applications in modern web programming it s important to take a moment and look back at where jQuery came from what needs it was built to fill and what programming in JavaScript was like before jQuery came around. In this chapter you ll learn about JavaScript libraries and the needs they seek to fulfill as well as why jQuery is the library of choice for the majority of web developers. You ll also learn the basics of jQuery including how to make the library available for use in your applications and how the core of jQuery its powerful selector engine works. Choosing jQuery over JavaScript JavaScript has a reputation for being rather unwieldy in web applications. A lack of consistent browser support difficult debugging and an intimidating syntax can make learning JavaScript feel impossible. To be fair all the things that make JavaScript seem difficult are part of what make it so powerful but that doesn t make it any more inviting to a novice web developer looking to add JavaScript to his arsenal. Understanding JavaScript Libraries The steep learning curve associated with JavaScript has been a sore spot for developers for years and as frustrations grew several ambitious developers started building JavaScript libraries also referred to as JavaScript frameworks. These libraries aimed to simplify the use of JavaScript to make it more accessible to both new and existing developers by creating easy-to-use .

TỪ KHÓA LIÊN QUAN