Saturday May 14, 2011
Thursday May 12, 2011
By cj on May 12, 2011
The Oracle Tuxedo team have posted an Oracle Tuxedo 126.96.36.199 Web Application Server Demo for PHP. It is a VirtualBox VM so you can immediately test it out. The free VM is available from OTN's Pre-Built Developer VMs page.
Oracle Tuxedo provides a scalable and highly available mid tier platform capable of managing and integrating heterogeneous applications. This overview datasheet explains its capabilities: "Oracle Tuxedo provides a service-oriented infrastructure for efficiently routing, dispatching, and managing requests, events, and application queues across system processes and application services". A raft of other material is on the Tuxedo landing page. There is also a new white paper on PHP being reviewed at this very moment.
The VM uses Oracle Linux 5.6. It has PHP 5.3 and Oracle Tuxedo 188.8.131.52 installed and configured. The SALT and TSAM components of Tuxedo are also available.
Tuxedo's PHP support comes in the form of a new mod_tuxedo module for Apache 2.2 (or Oracle HTTP Server). This handles all PHP scripts, executing them using managed PHP processes. Existing applications can run normally:
Tuxedo also lets PHP be exposed as a web service:
The tutorial manual provided inside the VM steps through using PHP in both ways. The NetBeans IDE, Oracle Database XE and MySQL are included on the VM to make it easier to carry out your own further experiments with Tuxedo and PHP.
Tuxedo has been around for a long time and has an established customer base. If you look at Oracle Database's big TPC-C benchmark's you can see Tuxedo was involved. It's even certified on Exalogic. The new dynamic language support in Tuxedo is going to open up "Enterprise" infrastructure, making it easy to integrate modern solutions in a heterogeneous environment.
When I get back from the Dutch PHP and PHP|Tek conferences, which run back to back from next week, I plan to write up more details about using Tuxedo and PHP.
Update: a new whitepaper is available: Oracle Tuxedo: An Enterprise Platform for Dynamic Languages.
Wednesday May 11, 2011
By cj on May 11, 2011
Discussion on the PHP mail lists and IRC channels in the past few days has been looking positive about an alpha release of PHP 5.4 soon. This will be taken from the "trunk" branch of PHP. The exact feature list is under discussion but the mood seems to be "ship what we currently have" though a couple of features are slated to be deferred until later.
A paragraph from a post by Rasmus Lerdorf on PHP's "internals" mail list is worth re-broadcasting. Rasmus is more than willing to grant PHP karma to encourage contributions:
And if you can't figure out how to fix a test, post the details here. I'd love to point some of the obvious talents and energy of this list towards the code. If you don't have an svn account for committing your fixed test, go to http://www.php.net/svn-php.php and fill in the little form at the bottom there and put in the test that you fixed and a 1-liner about how you fixed it and I will set you up with an account right away. Info on how to check out the code from svn is here: https://wiki.php.net/vcs/svnfaq
So, you can easily become a contributor to PHP, which would look great on your resume.
To discuss test issues you can subscribe to the PHP internals and QA mail lists at http://php.net/mailing-lists.php
By cj on May 11, 2011
This is a post for the "so I can find it again" category. (It is also a test for the new blogging infrastructure that Oracle migrated to last week).
After an upgrade to Ubuntu 11.04 on one 32 bit machine, my simple custom script to build PHP 5.3 from source failed. The script isn't complex, pulling in a couple of extensions that I use for sanity checking the OCI8 extension. I use the GD extension to generate some simple graphs.
My configuration command was like:
./configure ... --with-gd --with-jpeg-dir --with-png-dir ...
which gave the error:
configure: error: libjpeg.(a|so) not found
This release of Ubuntu has moved around some standard libraries. After some fiddling around, checking the 'configure' options and the GD extension config.m4 file intention, the solution for me was simple. Add the
--with-libdir=lib/i386-linux-gnu option to configure. I haven't tried this with other extensions so YMMV.
Update: Rasmus just merged a patch to gd that should make the
--with-libdir option unnecessary
Wednesday Apr 27, 2011
Wednesday Mar 23, 2011
Wednesday Mar 16, 2011
Thursday Mar 03, 2011
Tuesday Mar 01, 2011
Monday Feb 21, 2011
Wednesday Dec 15, 2010
Wednesday Nov 17, 2010
- Node-oracledb 1.9.1 with Promises and Node 6 Support is on NPM
- Emoji? Look at the Oracle New Gen Developers
- Getting a C++11 compiler for Node 4, 5 and 6 on Oracle Linux 6
- node-oracledb 1.9.0-Dev Branch with Promises is on GitHub
- PHP OCI8 2.0.11 and 2.1.1 are available on PECL
- Node-oracledb 1.8 has a streaming mode for queries (Node.js add-on for Oracle Database)
- Using SQL*Plus Instant Client 11.2 on OS X El Capitan
- node-oracledb 1.7.0 has a connection pool queue (Node.js add-on for Oracle Database)
- Node in the Cloud: Oracle DBaaS, App Container Cloud and node-oracle
- Node-oracledb: Avoiding "ORA-01000: maximum open cursors exceeded"