Testing of uploading files can be tricky, but with the right tools and the knowledge of a few tricks, the process can be more efficient and a lot less difficult. This article goes over creating an endpoint to upload a CSV file of users and testing that users in the CSV are displayed in the JSON response, as well as adding validation to ensure CSV files are the types of files being dealt with.
Most ORM libraries make you write a new class for each item you want to keep in the database. Extending this and that for no apparent reason is repetitious and capricious. Using techniques that can be applied to most languages, arrayDB looks at simplifying the whole process by doing away with statically defined classes.
Phalanger can be used to create solutions that combine .NET and PHP in ways that are not possible with the standard PHP interpreter. Thanks to Phalanger extensions, PHP programs can directly use .NET classes and .NET programs can dynamically invoke PHP scripts or use functions and classes implemented in PHP.
In the second and final of our articles on BlazeDS and JMS, InfoQ looks at two additional methods for sending messages to JMS topics or queues from PHP - the PHP/Java Bridge, and the STOMP protocol.
In the first of two articles on BlazeDS and JMS, InfoQ looks at the advantages of JMS and how you can use BlazeDS to communicate with your Java services via JMS from your Flex applications.
PHP has been traditionally considered as not suitable for the Enterprise. InfoQ has conducted a virtual panel regarding the evolution and suitability of PHP in enterprise environments. 4