• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • BCD Advances PHP-on-i Development in WebSmart

    December 9, 2014 Alex Woodie

    BCD Software has supported the PHP language with its WebSmart suite of IBM i development tools for several years. But with the last week’s unveiling of WebSmart version 10.6, the Chicago-based company is allowing PHP coders to do more advanced development using object-oriented techniques thanks to the addition of Zend Framework 2 (ZF2) and PHP data object (PDO) templates.

    WebSmart’s support for ZF2 is aimed at more advanced developers who are looking to build enterprise-grade applications that incorporate a model-view-controller (MVC) architecture and object-oriented (OO) coding techniques. ZF2 provides this core MVC layer, and now BCD supports ZF2 in its DB2 for i database template in the PHP edition of WebSmart.

    The Zend Framework brings other handy features in addition to the MVC and OO paradigm, such as security and authorization control; database access; session management; logging and message management; search engine and email integration; date and time manipulation; unit conversion; RSS and Atom feeds; enforcement of data input validation rules; GoogleApp APIs; JSON conversion; REST support; localization capabilities; PDF support; and advanced memory manipulation capabilities, among other features.

    Support for the PDOs, meanwhile, allows WebSmart developers to incorporate OO concepts in the database layer, if not the application layer itself. According to BCD (which is owned by Quadrant Software), the PDO provides a database abstraction layer that allows applications to access either MySQL or IBM i DB2, and allows them to switch back and forth between the two supported IBM i databases. “Programmers should consider using these templates if they want the flexibility to change databases or host their applications on another platform,” BCD says.

    Marcel Sarrasin, BCD’s director of marketing, says support for ZF2 and PDOs is a natural step forward for BCD and its PHP customers. When BCD first released WebSmart PHP in 2007, the company only supported standard procedural PHP, but as the customer base grew in size and sophistication, more customers became comfortable with OO techniques and technology.

    “What we’re seeing is there is a higher level of sophistication on the learning curve,” Sarrasin tells IT Jungle. “There’s a small percentage of our customer base–and the PHP customer base in general on IBM i–that’s ready to take that route, but we’re seeing a bit more of that now so we thought it was time to create template to help that level of development.”

    WebSmart 10.6 brings support for JQuery ThemeRoller.

    Not every PHP-on-IBM i programmer is ready to take the OO route with ZF2, Sarrasin says, but the number is growing. “It’s a learning curve,” he says. “It’s more complicated than coding PHP procedurally or at more of an introductory object-oriented entry. For a one-person shop doing internal applications, it might be overkill. The benefits start to pay off in larger applications where you’re really re-using code more and maintenance becomes a factor.”

    The new PDO templates in WebSmart provide an intermediate step on that OO learning curve, Sarrasin adds. “We have the three levels,” he says. “PDO is kind of in the middle because it is an object-oriented application you’re creating, but the only object it’s creating is the database access. We’ve basically modulated the database access by using the PDO functions. That’s more the recommended approach for smaller projects. What’s interesting is ZF2 uses PDO as well as an option for database objects, but it also makes everything else in it object-oriented as well.”

    WebSmart 10.6 also brings support for JQuery ThemeRoller, which makes it easier to use custom jQuery UI themes. ThemeRoller is a JQuery website where users can customize the look and feel of their user interfaces, and have those changes delivered in handy CSS files that users can apply on their websites.

    The new release also supports validation of HTML5 code, which will be particularly useful for syntax checking, BCD says. A new composite document type will also allow programmers to better organize their projects by automatically opening and closing files and programs together. The PHP debugger in WebSmart now supports PHP 5.4 and 5.5, BCD says, while JavaScript has replaced Flash for reports in the SmartCharts component.

    RELATED STORIES

    PHP Developer Chooses WebSmart to Build His ‘Scaffold’

    BCD Lets the Mobile Flow with WebSmart 10.1

    Quadrant Buys BCD Software

    BCD Brings Mobile App Goodness to WebSmart PHP Edition

    Presto Change-O: BCD Unveils New Modernization Tricks

    WebSmart Flattens the PHP Learning Curve

    BCD Tackles Mobile App Development with WebSmart Mobile

    BCD Updates Web Development Tools



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    UCG Technologies

    CYBER-ATTACKS ON THE RISE. PROTECT WITH THE TRIPLE PLAY.

    COVID-19 has not only caused a global pandemic, but has sparked a “cyber pandemic” as well.

    “Cybersecurity experts predict that in 2021, there will be a cyber-attack incident every 11 seconds. This is nearly twice what it was in 2019 (every 19 seconds), and four times the rate five years ago (every 40 seconds in 2016). It is expected that cybercrime will cost the global economy $6.1 trillion annually, making it the third-largest economy in the world, right behind those of the United States and China.”1

    Protecting an organization’s data is not a single-faceted approach, and companies need to do everything they can to both proactively prevent an attempted attack and reactively respond to a successful attack.

    UCG Technologies’ VAULT400 subscription defends IBM i and Intel systems against cyber-attacks through comprehensive protection with the Triple Play Protection – Cloud Backup, DRaaS, & Enterprise Cybersecurity Training.

    Cyber-attacks become more sophisticated every day. The dramatic rise of the remote workforce has accelerated this trend as cyber criminals aggressively target company employees with online social engineering attacks. It is crucial that employees have proper training on what NOT to click on. Cyber threats and social engineering are constantly evolving and UCG’s Enterprise Cybersecurity Training (powered by KnowBe4) is designed to educate employees on the current cutting-edge cyber-attacks and how to reduce and eliminate them.

    A company is only as strong as its weakest link and prevention is just part of the story. Organizations need to have a quick response and actionable plan to implement should their data become compromised. This is the role of cloud backup and disaster-recovery-as-a-service (DRaaS).

    Data is a company’s most valuable asset. UCG’s VAULT400 Cloud Backup provides 256-bit encrypted backups to two (2) remote locations for safe retrieval should a cyber-attack occur. This is a necessary component of any protection strategy. Whether a single click on a malicious link brings down the Windows environment or an infected SQL server feeds the IBM i, once the data is compromised, there is no going back unless you have your data readily available.

    Recovery is not a trivial task, especially when you factor in the time sensitive nature of restoring from an active attack. This leads to the third play of the Triple Play Protection – DRaaS.  Companies have myriad concerns once an attack is realized and a managed service disaster recovery allows employees to keep focus on running the business in a crisis state.

    The combination of training employees with secure backup and disaster recovery offers companies the best chance at avoiding financial disruption in an age of stronger, more frequent cyber-attacks.

    Reach out to UCG Technologies to discuss your company’s security needs and develop a data protection plan that fits you best.

    ucgtechnologies.com/triple-play

     800.211.8798 | info@ucgtechnologies.com

     

    1. https://theconversation.com/cyberattacks-are-on-the-rise-amid-work-from-home-how-to-protect-your-business-151268

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    NGS:  Attend our FREE COMMON Virtual Session on integrated reporting & BI from your desk! Dec 16.
    Profound Logic Software:  Now On-Demand Webinar: "See What i Can Do with Mobile Applications"
    BCD:  Beat Your Q4 Numbers with Real-Time Analytics on IBM i. Watch video!

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ EnterpriseTech: High Performance Computing Industry News From ITJ EIC Timothy Prickett Morgan

    IBM Pulls The Plug On Old Peripherals End of Year Feedback

    Leave a Reply Cancel reply

Volume 14, Number 24 -- December 9, 2014
THIS ISSUE SPONSORED BY:

Maxava
Fresche Legacy
System i Developer
Computer Keyes
WorksRight Software

Table of Contents

  • Enforcive’s Cross-Platform Security Mandate
  • IBM Delivers Tech Preview for iAccess on Mobile Devices
  • IBM Issues More POODLE Patches, Warns Not to Use SSLv3
  • A Better Way to View IBM i Journal Contents?
  • Most Innovative IBM i Products: A FHS Year in Review
  • Jack Henry Sharpens Digital Marketing with ‘Kernel’
  • BCD Advances PHP-on-i Development in WebSmart
  • ManageEngine Bolsters Password Sync Tool
  • Simulated Role Swaps–Maxava’s Secret Weapon
  • IBM: CMOD for i ‘Alive and Well’

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Why Open Source Is Critical for Digital Transformation
  • mrc Refreshes IBM i Low-Code Dev Tool
  • Unit Testing Automation Hits Shift Left Instead of Ctrl-Alt-Delete Cash
  • Four Hundred Monitor, March 3
  • IBM i PTF Guide, Volume 23, Number 9
  • Doing The Texas Two Step From Power9 To Power10
  • PHP’s Legacy Problem
  • Guru: For IBM i Newcomers, An Access Client Solutions Primer
  • IBM i 7.1 Extended Out To 2024 And Up To The IBM Cloud
  • Some Practical Advice On That HMC-Power9 Impedance Mismatch

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2021 IT Jungle

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.