 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
DZone.com: Selenium on Android
by Chris Cornutt April 18, 2012 @ 12:43:04
On DZone.com there's a recent post from Giorgio Sironi looking at running Selenium tests on the Android platform via the PHPUnit Selenium interface.
Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to load, element selections, clicks and typed characters. [...] In this tutorial, we'll experiment with the Android Driver and set up a couple of tests to run inside an Android virtual device.
He walks you through the basic setup of an Android environment (based on the Android SDK) and how to start up the Android driver installed from the Selenium site. An example test is included, showing how to make a request for a test page and checking its title as well as checking that the input from the "keyboard" is successful.
voice your opinion now!
selenium android phpunit webdriver sdk
NetTuts.com: Wrangling with the Facebook Graph API
by Chris Cornutt December 02, 2011 @ 13:37:09
On the NetTuts.com site today they have a (very complete) guide to help you wrangle the Facebook Graph API and make it useful for your application. It makes use of the official Facebook PHP SDK to interface with the Graph API.
Have you ever wanted to learn how to make your applications more social with Facebook? It's much easier than you think! In this tutorial, we'll be building an application that reads and publishes data to and from Facebook using Facebook's Graph API.
The tutorial helps you get signed up on the Facebook developer site, create a first sample application, set up the SDK and make a simple page (with an added bonus of using the Twitter Boostrap for look/feed). There's a section covering permissions, what kind of data you can expect publicly for both users and posts. They wrap it up with an example of posting back to Facebook though the API and updating the status on your account. The complete code for the tutorial is also available for download.
voice your opinion now!
facebook graph api tutorial sdk permissions
CloudSpring.com: Using the Rackspace PHP SDK
by Chris Cornutt November 16, 2011 @ 12:10:38
On the CloudSpring site today there's the continuation of a previous article about RackSpace's CloudFiles API. In this new post they show how to use their PHP SDK to connect to and use the CloudFiles service.
Rackspace provides a Software Development Kit (SDK) for multiple programming languages. They store their PHP SDK on GitHub. The PHP SDK requires PHP 5 with the following modules: cURL, FileInfo and mbstring. In this tutorial we are going to review use of the PHP SDK with CloudFiles. Not all parts of the API will be covered but you will get a great start.
Code is included showing how to make the connection, work with containers, pushing content out to a CDN, object handling and a few other handy tips (and API info) to help you along your way.
voice your opinion now!
rackspace sdk tutorial object container api
Maarten Balliauw's Blog: Windows Azure SDK for PHP 4 released
by Chris Cornutt July 29, 2011 @ 09:53:19
Maarten Balliauw has a new post announcing the release of the latest Windows SDK for Azure for PHP, version 4.
The Windows Azure SDK 4 contains some significant feature enhancements. For example, it now incorporates a PHP library for accessing Windows Azure storage, a logging component, a session sharing component and clients for both the Windows Azure and SQL Azure Management API's. On top of that, all of these API's are now also available from the command-line both under Windows and Linux. This means you can batch-script a complete datacenter setup including servers, storage, SQL Azure, firewalls, ... If that's not cool, move to the North Pole.
He includes a few things from the changelog including service management API support for SQL Azure, package scaffolders and various performance enhancements. You can find out more about the release and the latest on the project on the Microsoft Interoperability website.
voice your opinion now!
windows azure sdk api release version microsoft
Maarten Balliauw's Blog: A hidden gem in the Windows Azure SDK for PHP command line parsing
by Chris Cornutt July 11, 2011 @ 11:41:38
In this new post Maarten Balliauw looks at a "hidden gem" in the Windows Azure SDK for PHP - the ability to create scripts to work with command-line scripts - the Microsoft_Console_Command class.
Usually when creating a command line script you would parse $_SERVER['argv'], validate values and check whether required switches are available or not. With the Microsoft_Console_Command class from the Windows Azure SDK for PHP, you can ease up this task. Let's compare writing a simple "hello" command.
He compares the two sides of making a PHP command-line script: the "ugly way" using normal PHP code and $_SERVER['argv'] and the "easy way" using the Microsoft_Console_Command class that uses a class to define the functionality. There's also methods to grab specific arguments, pull from STDIN and get environment variables.
voice your opinion now!
windows sdk azure commandline parse
Maarten Balliauw's Blog: Scaffolding and packaging a Windows Azure project in PHP
by Chris Cornutt May 30, 2011 @ 13:11:08
Maarten Balliauw has a new post to his blog today talking about a new feature they're considering adding to the SDK API - the ability scaffold and package up a PHP application for use on the Windows Azure platform.
With the fresh release of the Windows Azure SDK for PHP v3.0, it's time to have a look at the future. One of the features we're playing with is creating a full-fledged replacement for the current Windows Azure Command-Line tools available. These tools sometimes are a life saver and sometimes a big PITA due to baked-in defaults and lack of customization options. And to overcome that last one, here's what we're thinking of: scaffolders. Basically what we'll be doing is splitting the packaging process into two steps: Scaffolding and Packaging.
He goes through their current suggestions of how to set up the scaffold template that would auto-generate everything you need from a command-line call. He also talks about making custom scaffolds (that are, in concept, similar to phar archives) and gives an example of the simple structure.
voice your opinion now!
windows azure project application scaffold sdk
Rafael Dohms' Blog: Using theFacebook PHP-SDK to run FQL
by Chris Cornutt January 12, 2011 @ 13:19:21
Rafael Dohms has a new post to his blog today looking at using the Facebook PHP-SDK to run FQL queries on the data for your applications.
The new SDKs have not, as you can say, fallen far from the tree. While they are really great new and shiny, documentation on how to use them is still vague, missing or spread out in the internet in blogs like these, in posts from us users trying to share the information with other soon-to-be-suffering developers. So this is an example of this, i have been using these new resources and the new PHP-SDK and have ran into various walls, so I decided to start putting some of this on my blog, for 2 reasons: to spread the word, and to have notes for myself when I come back to this.
The post gives an example of using the "api" method provided by the PHP SDK from Facebook to push an array of parameters, one being the query, to the remote API for parsing. He includes the code for a simple (namespaced) helper to take in the query and return the API's return data set.
voice your opinion now!
facebook sdk fql api interface query sql
Joey Rivera's Blog: Facebook Graph API App Easy w/ PHP SDK
by Chris Cornutt December 08, 2010 @ 14:29:27
Joey Rivera has posted a new tutorial about using the Facebook Graph API in your PHP application using the PHP SDK.
As promised, here is a post (similar to my Twitter API post) on using the Facebook API. There are many reason why one would want to access the Facebook API '" maybe to create a mobile app that lets you post photos to your Facebook albums, or maybe you just want to show your last few Facebook status updates on your blog; what ever the reason may be, Facebooks Graph API mixed in with their PHP SDK makes it really easy to accomplish this.
He shows you how to set up the environment and use the SDK to authenticate to the service and retrieve the latest status information for a User object, add a new status, view photos from an album and pushing a new photo to the album.
voice your opinion now!
graph api sdk tutorial facebook
|
Community Events
Don't see your event here? Let us know!
|