Buy Joomla! Programming Book by Mark Dexter - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Joomla! Programming
Joomla! Programming

Joomla! Programming


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

When you master Joomla! programming, you can customize websites in ways that simply aren’t possible by tweaking parameters or installing someone else’s extensions. Now, there’s an authoritative, “soup-to-nuts” programming guide for every Joomla! user: from beginners with no Joomla! development experience to long-time coders seeking a quick start with Joomla!’s powerful new versions, 1.6, 1.7, and 2.5.

 

Joomla!™ Programming presents proven best practices for getting the job done right. Written by Mark Dexter and Joomla! design architect Louis Landry (who wrote much of the new Joomla! framework), the text is packed with detailed examples and sample code, in-depth reference-style explanations available nowhere else, and fascinating sidebars revealing why Joomla! works the way it does.

 

Both a tutorial and reference, this title brings together step-by-step instructions for everything from simple tasks (such as template overrides) to cutting-edge techniques involving components, MVC, and the Joomla! framework. You’ll learn how to 

  • View Joomla! from a programmer’s perspective
  • Extend Joomla! with layout overrides, plugins, and modules
  • Take full advantage of Joomla!’s improved new MVC implementation
  • Build front-end and back-end components, from start to finish
  • Secure your websites with Joomla!’s powerful, flexible new Access Control Lists
  • Work with databases and use the new JDatabaseQuery to write complex queries
  • Program Joomla! with JavaScript via the lightweight MooTools framework
  • Develop custom category structures for your own websites and extensions
  • Enable one-click updates for your own custom extensions
  • Use the Joomla! platform as an application framework 

All example code, updates, and more information on Joomla! programming are available at the companion website, joomlaprogrammingbook.com.



Table of Contents:

Preface xix

Acknowledgments xxvii

About the Authors xxix

 

Chapter 1: What Is Joomla! Development? 1

Developing for Joomla Is Not Difficult! 1

Joomla Programming:

What Do You Need to Know? 3

Extending Joomla: Let Me Count the Ways 4

Which Extension Type Should I Use for My Project? 14

Using Joomla as a Platform or Framework 15

Summary 16

 

Chapter 2: Getting Your Workstation Ready for Joomla! Development 17

Requirements to Run Joomla 17

Tools of the Trade 21

Other Tools 38

Summary 39

 

Chapter 3: How Joomla! Works 41

Tour of Joomla Folders 41

Joomla Platform 56

Web Programming versus “Normal” Programming 58

Anatomy of a Joomla Execution Cycle 61

Naming Conventions (Conventional Wisdom?) 85

Global Objects 85

Overview of Database Tables 86

Summary 89

 

Chapter 4: Extending Joomla! with Layout Overrides 91

Template Basics 91

Copy Template 105

Template Layout Override of Latest Articles Module 108

Change the Look of a Component: User Registration 121

Alternative Layouts 125

Adding a New Menu Item Layout 126

How Do Layout Overrides Work? 129

Nonlayout Overrides 129

Summary 138

 

Chapter 5: Extending Joomla! with Plugins 139

What Is a Plugin? 139

How Do Plugins Work? 139

Plugin Types: Where Can You Insert a Plugin? 140

Tour of Selected Core Plugins 142

User Registration Plugin 164

Improved User Registration Plugin 173

Adding Parameters to Our Plugin 179

Using Plugins to Override Core Classes 182

Plugin Best Practices 186

Summary 186

 

Chapter 6: Extending Joomla! with Modules 187

What Is a Module? 187

Tour of a Core Module 188

Show Articles by the Current Author 197

Summary 227

 

Chapter 7: Components Part I: Controllers and Models 229

What Is a Component? 229

MVC Design Pattern 230

Back-End Weblinks Component 231

Summary 262

 

Chapter 8: Components Part II: Views, JForm, and Front End 263

Views and the display() Method 263

WeblinksViewWeblink View 275

Back-End Weblinks Summary 287

Front-End Weblinks Component 288

Summary 304

 

Chapter 9: Components Part III: Example Component Back End 305

Example Component Functional Overview 305

Detailed Design 306

Back-End Files 307

Subscriptions Manager: Subscriptions Screen 308

Subscriptions Manager: Add and Edit 331

Language Files 349

Installation and Configuration 351

Summary 353

 

Chapter 10: Components Part IV: Example Component Front End 355

Files Overview 355

Installation XML File 355

Component Entry Point 356

Default Controller 357

Subscription-Category View 359

Subscription View 375

Language File 392

Packaging the Component 394

New Functionality: Back- End Subscriber Report 395

Summary 403

 

Chapter 11: Working with Your Database 405

Database Overview 405

Creating and Modifying

Tables with DDL Commands 407

Using phpMyAdmin 414

Using SQL Data with DML Commands 419

Designing the Table Structure 429

Working with the Database Inside Joomla 432

Summary 442

 

Chapter 12: JavaScript and MooTools in Joomla! 443

What Is JavaScript? 443

How Does JavaScript Work? 444

What Is MooTools? 444

How JavaScript and MooTools

Are Used in Joomla 446

Built-In JavaScript Features 446

Using MooTools Extensions 467

Using AJAX in Joomla 467

Using Other JavaScript Frameworks 471

Summary 473

 

Chapter 13: Using the Joomla! Platform as an Application Framework 475

What Is the Joomla Platform? 475

Why Have a Separate Project? 475

What Can the Platform Be Used For? 476

Platform Example Programs 477

Subscription Monitoring Example 482

Summary 497

 

Appendix A: Crash Course on PHP and Object-Oriented Programming 499

PHP File Structure 499

PHP Syntax Basics 500

Common Operators 502

If Statements 503

Switch Statement 505

Looping Statements 505

Alternative Syntax 507

Variables 508

Arrays 508

Constants and Current Directory 510

Functions and Methods 511

Including Files and File Types 512

Object-Oriented Programming Basics 514

Simple Debugging 518

Some Advanced Code Techniques 519

 

Appendix B: Joomla! Filter Types 523

HTML Filtering 524

Using Filtering in Joomla Applications 524

 

Appendix C: JHtml Methods 527

Calling JHtml Methods 527

JHtml Class Methods 528

HTML Folder Classes 529

 

Glossary 533

Index 539



About the Author :

Mark Dexter has been writing software since the 1970s. He cofounded and ran a commercial software company for 28 years before retiring to do volunteer work in open source software. Mark first started using Joomla! in 2008 and joined the Production Leadership Team in 2009. He has worked extensively in different areas of the project, including the user forums, Google Summer of Code, documentation and help screens, and the Bug Squad. Mark has actively participated in the Joomla! development process since 2009, including fixing bugs, adding features, and coordinating the release of new Joomla! versions. Mark lives in Seattle, Washington.

 

Louis Landry wrote a large part of the Joomla! framework for version 1.5 and 1.6, and he has been a major design architect for Joomla! for more than five years. His first experience with computers was playing on a 286 with Basic at his father’s office. Louis has programmed in many languages, ranging from low level x86 assembly to managed languages like Java and scripting languages like PHP. He was a founding member of his university’s robotics team. Louis is a car nut, and enjoys working on them in his spare time. He lives in Silicon Valley in California.


Best Sellers


Product Details
  • ISBN-13: 9780132780834
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Weight: 1 gr
  • ISBN-10: 0132780836
  • Publisher Date: 30 Mar 2012
  • Binding: Digital download
  • No of Pages: 588


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Joomla! Programming
Pearson Education (US) -
Joomla! Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Joomla! Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Hello, User