Subscribe to our RSS FeedFollow Us on TwitterBe our fan on Facebook

Tech News WEB

Get the latest technology news from social network to gadgets to mobile and desktop apps.


  • Home
  • Social Media
    • Facebook
    • Twitter
    • Google+
    • Youtube
  • CMS
    • Joomla
    • Wordpress
    • Drupal
  • Gadgets
    • iPhones
    • iPads
    • Android
    • Tablet Products
  • Mobile Apps
  • Internet Security
  • Government
  • Movies Trailers

Wednesday, July 13, 2011

Joomla! 1.7 Highlight - Batch Processing

12:48 AM  TechNewsWEBPH  

Tweet
chokens86
Elin Waring recently blogged on the Joomla! Community Portal about some of the features coming with Joomla! 1.7, appropriately titled Peeking at 1.7. Aside from the separation of the framework and CMS, I think (and I may be a bit biased) one of the better changes is the ability to batch process items being added to the framework. A popular feature excluded from Joomla! 1.6, its return for 1.7 marks benefit for users and developers alike.

BACK STORY
Getting batch processing into the core for 1.6 and 1.7 hasn't been an easy task. At the first beta release of 1.6, only the Menu Manager had it in the items view. After one tracker item, the methods were carried over to the Category Manager. The place that it was most asked for, the Joomla! Templates Video-Training Article Manager, just couldn't get the same treatment in a timely manner and it was decided that this feature wasn't important enough to block the release of 1.6. Fast forward a few months, and Dennis Hermatski submitted a patch to batch process articles. It was tested and implemented into the development head, which was moving away from the 1.6 series and beginning to take shape for the forthcoming 1.7 release. Upon seeing this commit, I remembered the lack of batch processing being available for the core and began testing Dennis' code on other core components. I realized that Dennis had not only coded a solution for the Article Manager, but the code was easily reusable throughout the CMS.

INTO THE FRAMEWORK
I quickly requested an SVN branch to begin incorporating this feature into the framework to make it Joomla! 1.5 Essential Training available for the core components and all third party developers. The first task was to move the code out of ContentControllerArticle and ContentModelArticle into the methods that they had overridden, JControllerForm and JModelAdmin (respectively). The model functions were a simple move which required only changing hard coded com_content references into an $extension variable that would act based on which component was using the code at the time. The controller method took a little bit of outside thinking because each controller sets a redirect for after the process is complete. Instead of each controller duplicating all the batch function code, I decided instead to move the common code into JControllerForm with each controller presetting the actionable model and the redirect before feeding into the parent function.

Once all the code was moved, I began reviewing the existing code for com_categories and com_menus to determine how much of this extended code could be deleted. I found several lines that were deletable, including making the controller methods follow my boilerplate code. As a further demonstration of the implementation, batch processing was added to com_weblinks as well. more at Joomla

Posted in: Joomla
Newer Post Older Post Home

Earn Money Online

Visitor's Recommendations

RSS FeedSubscribe
Follow Us on Twitter!Follow Us!
Find Us on FacebookBe Our Fan

Categories

  • Android (9)
  • Apple (9)
  • Browser (5)
  • CMS (11)
  • Drupal (3)
  • Facebook (35)
  • Firefox (2)
  • Gadgets (34)
  • Gmail (1)
  • Google (20)
  • Google+ (26)
  • Government (20)
  • IE (2)
  • Internet Security (17)
  • Internetworking (1)
  • iPad (10)
  • iPhone (18)
  • Joomla (9)
  • Microsoft (4)
  • Mobile Apps (6)
  • Movie Trailers (15)
  • Skype (2)
  • Social Media (58)
  • Tablet (4)
  • Twitter (11)
  • Wordpress (5)
  • Youtube (4)

Blog Archive

  • November (1)
  • September (27)
  • August (51)
  • July (107)

Affiliates

  • Captions in LIFE
  • Nulled Shared Directory
  • Shuswap BC Online Community
  • Today in Mindanao
  • Unlock Your Creativity

MGSD News Feeds

Loading...

Followers

Reciprocals

Web Link Directory

FreeWebSubmission.com

Free SEO Tools

All About Cell Phone
Add blog to our blog directory.

Pageviews

Follow this blog
Technology & Computers - Top Blogs Philippines

Sponsors

Philippines Blog Directory
Follow @TechNewsWEBPH

Latest Post

Loading...

Popular Posts

  • Pentagon’s Mach 20 Missile Lost Over Pacific — Again
    For the second time in a row, the Pentagon has lost contact with an experimental hypersonic vehicle over the Pacific, just minutes after it...
  • The 10 Most Expensive Google Acquisitions
    Global search corporation Google, Inc. added to its already hefty empire when it announced its planned acquisition of Motorola Mobility th...
  • Facebook To Launch Music Platform With Spotify, MOG & Rdio
    Facebook intends to launch its long-rumored music service next month with Spotify, MOG and Rdio as three of the company’s launch partners....
  • How to Authenticate your Facebook Account using your Mobile Phone
    Facebook Timeline is still on developers test so ordinary user can't preview this until it is open to public. You need to be a develope...
  • 34% of iPhone Users Think They Have 4G
    “How many bloody Gs are there?,” asked a bewildered Ozzy Osbourne in one of the funniest Super Bowl commercials this year. You laugh, but ...
  • Not Google Plus [Video]
    Not Google Plus By Dan Gurewitch By now you've probably heard about Google+, a new social networking platform. But there are already...
  • Facebook Made Big Privacy Changes
    Facebook has announced major changes to privacy on Tuesday. This is one of the largest revisions of privacy in company history, which inclu...
  • Rumored Apple iPhone 5 Pico Projector Patent Channels the SixthSense Concept Device
    A rendering of an iPhone 6 concept that is quite similar to the SixthSense device. The tech community is raising its eyebrows over a re...
  • Anonymous hacks SF’s myBART website. Thousands of names, addresses & numbers released.
    Anonymous , the online hacktivist group, has released thousands of names, email addresses, home addresses and phone numbers believed to be f...
  • Computer Vision Syndrome: Do Your Eyes Have It? Here’s Help
    Feeling bleary-eyed after a long day in front of your various screens? Here’s an infographic full of tips and techniques to ease your eyes ...

 
© 2011 Tech News WEB | Powered by Tech News WEB
Social Media | Gadgets | CMS | Internet Security | Government
Get Social with Tech News Web and share with your friends
Follow @TechNewsWEBPH
x