Category Archives: WebSmart PHP

WebSmart PHP

PHP-on-IBM i webinar with Alan Seiden: How to ensure speedy performance

This webinar is available for on-demand viewing. It was presented live on June 11, 2015.

When you deliver WebSmart PHP applications, you want to make sure they perform quickly, without errors and bottlenecks.

If you haven’t already registered, you’re invited to join PHP expert Alan Seiden for this educational webinar tomorrow (Thursday, June 11) at 1pm EDT to see how you can fine-tune your PHP applications for top performance.

You’ll get easy-to-implement tips, including how to:

  • Optimize DB2 and the IBM i toolkit
  • Leverage unique IBM i performance tools
  • Diagnose bottlenecks and errors with Z-Ray
  • Configure Zend Server for performance

In the last ten minutes, we’ll also discuss why WebSmart PHP with Zend Server is the fastest way to develop PHP applications on IBM i.

Sign up now!

Continue reading

RC4 “Bar Mitzvah” attack for SSL/TLS

We came across this article from IBM addressing the issue regarding RC4 vulnerability in SSL/TLS protocol:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1020681&context=SGC5P76

The page has instructions on how to disable the weak RC4 ciphers for the IBM i. We recommend checking out the article in order to make sure your Clover, Nexus, Presto and WebSmart ILE/PHP Apache servers with SSL enabled are secured.

WebSmart 10.7.0 Is Available for Download

WebSmart 10.7.0 is available for download from our customer portal, myBCDsoftware.com, and our public website.

This release includes the following enhancements:

  • Added keyboard shortcuts to increase and decrease the font size in the editor (CTRL +/-)
  • New demo library file called MU_DATEF simplifies date-based SQL queries
  • Improved auto formatting of PHP array declarations
  • Mass PDW generation now supports fixed format definitions
  • You can now use Alt+D and Alt+U as hotkeys to control the search direction

If you have any questions about upgrading or the new features, please get in touch with Technical Support!

End-of-Support Notice 
Please note that we’re able to provide full support for approximately the last three releases. If you’re still running WebSmart 10.0 or older, we recommend you make plans to upgrade as soon as possible.

Temp License Key Generation at myBCDsoftware.com Unavailable

We are currently making some internal changes to how we manage our product license keys. While this is in progress we have temporarily taken down the myBCDsoftware.com program that allows customers to generate short-term license keys.

If you anticipate needing a temporary product license key for testing purposes, please contact your BCD sales rep and we’ll be happy to provide one.

If you were relying on this myBCDSoftware.com feature as part of your actual Disaster Recovery (DR) strategy and need to have the ability to switch your applications over to another system on very short notice, we are also happy to provide longer term temporary license keys to tide you over until the portal page is back. You should, however, keep in mind that our web portal is periodically unavailable for system maintenance. An alternative is to purchase a secondary High Availability product license.

You can reach our sales office in Chicago at (630) 986-0800 to request keys or discuss your needs. Or, if you have any questions about this portal feature, please email or call me at our support office at (250) 655-1766.

Continue reading

WebSmart PHP’s new templates support all levels of development

Many of our WebSmart PHP customers are still relatively new to web application development, while others need more advanced templates to take advantage of MVC or a more object-oriented approach. For this reason, WebSmart 10.5 and 10.6 include new Zend Framework 2 (ZF2) MVC and PHP Data Object (PDO) templates.

You can continue to use the original PHP templates to jumpstart your development but the new templates will give you more options as your skills advance.

Watch the video below to learn more about the new templates and to see how they support all levels of development.

Continue reading

How to Define a Custom Error Handler in WebSmart PHP

Error messages are an important part of the WebSmart PHP development process, providing valuable information that you can use to fix and improve your scripts. If your script encounters an error, PHP normally displays the error in the browser and, if the error is fatal, stops execution of the script.

But you can override this default functionality, replacing it with your own function that handles errors at runtime. This is a simple two-step process that involves defining your error-handling function and setting it to handle errors in your script with set_error_handler().

Continue reading

V7R2 Readiness for BCD Products

The BCD Product Development team has tested the following versions of our software at V7R2:

  • Presto 5.6
  • WebSmart ILE/PHP/Clover 10.2 and 10.5
  • Catapult 7.9.1
  • Spool-Explorer 4.52 (server version 4.50)
  • Exodus 5.3
  • ProGen Plus 9.7
  • DBGen 2.5
  • Docu-Mint 6.6
  • File-Flash Plus 4.5
  • Nexus 4.09

Nexus requires a new authorization module (available by request, and to be included in the next build of the software). With WebSmart we encountered an odd, sporadic library lock error on install; you can answer the message with a Retry (R) to get by it. We are currently working on this issue with IBM.

We didn’t run into any other problems.

If you have any questions please contact Technical Support. If you need to verify your current release levels, KB Article 5595 has instructions on how to find these for all our products.

Search terms: 7.2 V7 R2

Get Better Insight into Your PHP Code with New Zend Server 7

Earlier this month, Zend released Zend Server 7, a major new release. It includes an impressive new feature, Z-Ray, which gives developers real insight into their PHP code. This allows them to inspect, debug and optimize their pages early in the development cycle, long before they go into production.

Z-Ray monitors requests to the web server and displays relevant, detailed, live information on a simple and intuitive web page component in your browser (similar to how Chrome Developer Tools and Firebug work). This information includes: PHP functions, SQL queries, sessions and cookie data, errors and warnings, memory use, request execution time metrics, and more.

Z-Ray is included in both the Professional and Enterprise editions of Zend Server but is only available as a 30-day trial in the Basic edition (formerly known as Community Edition). There were licensing changes with Zend Server 7 for other platforms, which caused a bit of confusion for IBM i users, but Zend quickly clarified that the licensing for IBM i has not changed. The Basic edition is still free and includes one year of limited support.

You’ll need to use the Professional or Enterprise editions to take advantage of all the debugging, troubleshooting and performance features of Zend Server, including Z-Ray. If you’re running mission-critical applications, we highly recommend using those editions as well.

Zend Server 7 also includes an updated PHP stack for PHP 5.4 and 5.5, and support for IBM i 7.2.

Learn more at http://www.zend.com/en/products/server/whats-new.

BCD Software Ending Support for Windows XP June 30

BCD Software will be ending support for Microsoft XP on June 30, 2014.

This means we will no longer be performing any testing of Presto, WebSmart, Clover, Catapult, Spool-Explorer or EZ-Pickin’s on Windows XP, and future versions of the software may not run on Windows XP. In Technical Support, we will only be able to provide limited support for application issues which appear to be related to running our software, or the generated applications, on Windows XP.

Microsoft ended support for Windows XP on April 8, 2014. In addition, a significant security bug was recently discovered in all versions of IE, and which Microsoft didn’t initially plan to address for XP, though they ultimately did. But going forward, continuing to run XP will represent a security risk.

Please contact us if you have any questions.

 

WebSmart 10.2 Is Available for Download

WebSmart 10.2 is now available for download from our customer portal, myBCDSoftware, or our public website.

This maintenance release includes the following key new features:

  • WebSmart IDE now highlights matching parenthesis and braces.
  • Added file-level repository extensions.
  • New ILE rplstr option to control whether find and replace parameters should be trimmed.
  • New ILE functions base64encode and base64decode let you work with base64 encoded data.
  • Added secure and httponly parameters to ILE gensmurfid.
  • The WebSmart PHP debugger settings have been added to the Options menu so it’s easier to configure for single or multi-users.

Please visit the WebSmart Updates page to review the full list of enhancements.

If you have any questions about upgrading or the new features, please get in touch with Technical Support!

Continue reading