Category Archives: Articles

Scrape Screens with zend-dom

Even in this day-and-age of readily available APIs and RSS/Atom feeds, many sites offer none of them. How do you get at the data in those cases? Through the ancient internet art of screen scraping. The problem then becomes: how do you get at the data you need in a pile of HTML soup? You could use regular expressions or… Read more »

zend-config For All Your Configuration Needs

Different applications and frameworks have different opinions about how configuration should be created. Some prefer XML, others YAML, some like JSON, others like INI, and some even stick to the JavaProperties format; in Zend Framework, we tend to prefer PHP arrays, as each of the other formats essentially get compiled to PHP arrays eventually anyways. At heart, though, we like… Read more »

PHP and SQL Server for Linux

      No Comments on PHP and SQL Server for Linux

This week we tested the public preview of Microsoft SQL Server for Linux using PHP 7 with our component zendframework/zend-db. Microsoft announced the availability of a public preview of SQL Server for Linux on the 16th of November, 2016. This new version of SQL Server has some interesting features such as: transparent data encryption; always encrypted; row level security; in-memory… Read more »

Using Laravel Homestead with Zend Framework Projects

Laravel Homestead is an interesting project by the Laravel community that provides a Vagrant box for PHP developers. It includes a full set of services for PHP developers, such as the Nginx web server, PHP 7.1, MySQL, Postgres, Redis, Memcached, Node, and more. One the most interesting features of this project is the ability to enable it per project. This… Read more »

Paginating data collections with zend-paginator

zend-paginator is a flexible component for paginating collections of data and presenting that data to users. Pagination is a standard UI solution to manage the visualization of lists of items, like a list of posts in a blog or a list of products in an online store. zend-paginator is very popular among Zend Framework developers, and it’s often used with… Read more »

Implement a SOAP server with zend-soap

zend-soap provides a full-featured SOAP implementation. SOAP is an XML-based web protocol designed to allow describing messages, and, optionally, operations to perform. It’s similar to XML-RPC, but with a few key differences: Arbitrary data structures may be described; you are not limited to the basic scalar, list, and struct types of XML-RPC. Messages are often serializations of specific object types… Read more »

Implement an XML-RPC server with zend-xmlrpc

zend-xmlrpc provides a full-featured XML-RPC client and server implementation. XML-RPC is a Remote Procedure Call protocol using HTTP as the transport and XML for encoding the requests and responses. Author’s note When I started at Zend in 2005, I was in their nascent eBiz division, tasked with maintaining and improving the web properties. Zend Framework was an internal/invite-only project, but… Read more »

Implement JSON-RPC with zend-json-server

zend-json-server provides a JSON-RPC implementation. JSON-RPC is similar to XML-RPC or SOAP in that it implements a Remote Procedure Call server at a single URI using a predictable calling semantic. Like each of these other protocols, it provides the ability to introspect the server in order to determine what calls are available, what arguments each call expects, and the expected… Read more »