Pro PHP and jQuery

Pro PHP and jQuery
-0 %
Der Artikel wird am Ende des Bestellprozesses zum Download zur Verfügung gestellt.
 eBook
Sofort lieferbar | Lieferzeit: Sofort lieferbar

Unser bisheriger Preis:ORGPRICE: 48,73 €

Jetzt 44,98 €* eBook

Artikel-Nr:
9781430228486
Veröffentl:
2010
Einband:
eBook
Seiten:
400
Autor:
Jason Lengstorf
eBook Typ:
PDF
eBook Format:
Reflowable eBook
Kopierschutz:
Digital Watermark [Social-DRM]
Sprache:
Englisch
Beschreibung:

At this point, you should feel comfortable with the object-oriented programming style. The whole core of the event calendar’s backend will be based on OOP, so any concepts that may currently seem unclear will be more thoroughly examined as the concepts from this chapter are put into a practical, real-world example. In the next chapter, you’ll start building the backend of the events calendar. 118 C H A P T E R 4 ? ? ? Build an Events Calendar Now that you’re up to speed on the concept of object-oriented programming, you can start working on the project that will be the meat and potatoes of this book: the events calendar. It all starts here, and as this book progresses, you’ll be adding more and more functionality using both PHP and jQuery. Planning the Calendar Because you’re starting from absolute scratch, you need to take a minute to plan the application. This application will be database-driven (using MySQL), so the planning will take part in two stages: first the database structure and then a basic map of the application that will access and modify the database. Defining the Database Structure To make building the application much easier, the first thing you should plan is how the data will be stored. This shapes everything in the application.
At this point, you should feel comfortable with the object-oriented programming style. The whole core of the event calendar's backend will be based on OOP, so any concepts that may currently seem unclear will be more thoroughly examined as the concepts from this chapter are put into a practical, real-world example. In the next chapter, you'll start building the backend of the events calendar. 118 C H A P T E R 4 ? ? ? Build an Events Calendar Now that you're up to speed on the concept of object-oriented programming, you can start working on the project that will be the meat and potatoes of this book: the events calendar. It all starts here, and as this book progresses, you'll be adding more and more functionality using both PHP and jQuery. Planning the Calendar Because you're starting from absolute scratch, you need to take a minute to plan the application. This application will be database-driven (using MySQL), so the planning will take part in two stages: first the database structure and then a basic map of the application that will access and modify the database. Defining the Database Structure To make building the application much easier, the first thing you should plan is how the data will be stored. This shapes everything in the application.

This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will show you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery.

  • Learn to utilize built-in PHP functions to build calendar tools.
  • Learn how jQuery can be used for Ajax, animation, client-side validation, and more.
Part 1--Getting comfortable with jQuery 1. Intro to jQuery 1. A little history 2. Selectors: what they are and how they work 3. Traversing 4. Manipulation 5. CSS and Attributes 6. Events 7. Effects and Animation 2. Your First jQuery Scripts 1. Dynamically highlight every other row in a table 2. Filter out results based on an element's class 3. Basic animation Part 2--Getting into Advanced PHP Programming 3. A Refresher/Intro to Object-Oriented Programming 1. How objects work 2. OOP vs Procedural Programming 4. Building an Event Calendar with PHP 1. Using date functions to build a basic calendar 2. Storing event data 3. Creating administrative controls 5. Advanced Image Handling with PHP 1. Allowing users to upload images 2. Resizing and resampling images 3. Creating square thumbnails on-the-fly 4. Adding watermarks to images 6. Building an Image Gallery with PHP 1. Extending the Image Handling class 2. Reading directories dynamically 7. Password-Protecting Sensitive Actions 1. Basic administrative controls: login to edit/delete Part 3--Combining jQuery with PHP Applications 8. Enhancing the GUI with jQuery 1. Creating modal windows to display event info without a page refresh 2. Loading previous/next month without a page refresh 9. Editing the Calendar Using AJAX 1. Adding a JS abstraction layer to edit without requiring a page refresh 2. Generating modal windows with editing forms 3. Using modal windows to confirm deletion 10. Form Validation with Regular Expressions 1. Regex refresher 2. Client-side validation 3. Server-side validation 11. Building a jQuery Plugin 1. Basic idea/why it's worth it 2. Creating a lightbox-style image gallery viewer 1. Preloading images 2. Accessing the title attribute to display image information 3. Adding keyboard controls 12. Using jQuery UI 1. Overview of the UI 2. Adding sortability to the gallery editing software 3. Saving the new order by renaming images 1. Useful if the images are standalone 4. Saving the new order in a database 1. Useful if images are tied to database information Part 4--Advanced jQuery and PHP 13. Using Third-Party Data with AJAX and JSON 1. Reading Data from Flickr 2. Displaying Latest Twitter Updates 14. Creating a Web Service 1. What is a Web Service? 1. JSONP and How It Works 2. Allowing third-party sites to access data from the event calendar using XML or JSONP

Kunden Rezensionen

Zu diesem Artikel ist noch keine Rezension vorhanden.
Helfen sie anderen Besuchern und verfassen Sie selbst eine Rezension.