News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Adding Products to Your eBay Store with the Trading API
January 13, 2015 @ 12:50:14

The SitePoint blog has posted the next part of their "using the eBay trading API" series today (part three) showing you how to add products to your store via their API.

In this third and final part of our eBay Trading API series, we'll be building the product adding functionality into our application. Now that we're done with the store settings, we can begin with writing the code for the controller that would handle the creation of products.

He walks you through the code to create the "new" action on your Slim controller, build the view to gather the product information and handle the upload of product images with the Dropzone Javascript library. Also included is the code to get the current category list (to populate a dropdown list) and the code needed to create the product, both in your database and sending it back to the eBay API for insertion. This finishes the series about using this API, but you can get more information on the API itself though its documentation. The full code for the tutorial series is available on GitHub.

0 comments voice your opinion now!
ebay trading api tutorial series part3 add product upload

Link: http://www.sitepoint.com/adding-products-ebay-store-trading-api/

SitePoint PHP Blog:
Configuring Your Store's Settings with the eBay Trading API
January 12, 2015 @ 11:18:22

The SitePoint PHP blog has posted the next article in their "eBay Trading API" tutorial series today. In this new tutorial they show you how to configure your store's settings.

In part 1, we explained the different parts of eBay's developer dashboard and configured our test application. We also created our database. Now we're ready to create a project. In this part, we'll focus on store settings. In part 3, we'll add new products to our store.

They include the "composer.json" contents you'll need to install all of the libraries they'll use for the tutorial. With those installed they start in on the code, creating a basic Slim application that uses Twig views and some custom configuration options. Then he starts in on the classes, creating an "Ebay" class to handle the application settings and creating a "post" method to handle the API request. He adds in a few other helper methods and builds a database object/query to get the application details from the database. Next up are the templates for the main page and the controller to handle the default, session and token requests. He adds in some additional route configurations, makes a "view action" for the store settings and to request the user preferences from the API.

0 comments voice your opinion now!
configure store setting ebay trading api series part2

Link: http://www.sitepoint.com/configuring-stores-settings-ebay-trading-api/

SitePoint PHP Blog:
Introducing eBay's Trading API - Setting Up
January 06, 2015 @ 12:58:43

The SitePoint PHP blog they've posted the first part of a new series about using the eBay API as a part of a product management application. In part one they start by getting things set up on the eBay trading API and creating the database you'll need for the rest of the series.

In this tutorial series, I'll walk you through Ebay's Trading API. The Trading API allows you to build applications that can be used for selling in Ebay. Here are some examples of things you can do with the API: retrieve store information, update store preferences, add products to a specific eBay store, end product listings, update product price and retrieve product information. In this tutorial, we'll be creating an app that allows users to create a product on eBay through the use of the API.

They start by helping you register an application on the eBay developer site and configure the settings to match your needs. They link to some of the tools you can use during your development and some of the headers/content you'll need to set to make your requests. The tutorial wraps up with the SQL needed to create the database backend for your store's settings, products, listings and some sample data to insert.

0 comments voice your opinion now!
ebay trading api tutorial series part1 product management

Link: http://www.sitepoint.com/introducing-ebays-trading-api-setting/

IBM developerWorks:
Calling eBay using the Service Component Architecture
May 15, 2007 @ 08:36:00

From the phpblog on the IBM developerWorks website today, there's a quick new tutorial focusing on the use of the Service Component Architecture functionality in PHP to interface with the web service API that eBay offers.

I've just made the first code drop to support calling eBay Web services using the Service Component Architecture. Anyone who's tried calling the eBay soap APIs will know there are quite a few hoops to jump through to get it working. [...] The SCA eBay soap support hides this complexity by allowing you to specify the information as configuration parameters and then it makes sure the right things are placed in the header or the URL.

A code example is included that makes a connection to the web service, calls the GetSearchResults action for the query of "ipod" and, upon getting the results back, loops through them to display them to the page.

0 comments voice your opinion now!
servicecomponentarchitecture sca ebay webservice api search servicecomponentarchitecture sca ebay webservice api search


Adam Trachtenberg's Blog:
PHP SOAP vs. SDO
October 13, 2006 @ 07:06:47

In his latest blog post, Adam Trachtenberg looks into the world of web services and comes out with three topics - SOAP, axis2, and SDO. He chooses to focus, though, on the last of these after working with it to really get a feel for what it can do.

n my role as eBay Platform Evangelist, I spend a lot of time exploring different XML technologies. SOAP is obviously the big one. No, it's not PEAR::SOAP or NuSOAP; it's axis2.

He talks a bit about what axis2 is and the need it fills in the web services world. He also talks about how it's been developed (not copied after SOAP, but more of a fresh start that happens to do the same things). After this quick look at axis2, though, he gets into the head of the post - SDO.

The other PHP XML extension I've been hearing a lot about is SDO. SDO is an attempt to provide a standard data interface regardless of the backend datasource. So, for example, you can interact with XML data in the exact same manner as information pulled from your database.

Adam decided to give it a try and see how it interacted with the eBay API with some simple code examples. The first of which looks through eBay Motors and finds the title and mileage for each of the items grabbed. It worked well, and didn't require too much more development than the SOAP predecesor, but there were a few quirks that made things a bit more difficult (like SDO's inability to completely consume a WSDL file and understand a SOAP service's functionality).

0 comments voice your opinion now!
soap web service sdo axis2 example ebay api motors soap web service sdo axis2 example ebay api motors


Community News:
Web APIs with PHP Book Released
August 28, 2006 @ 13:13:00

It's the book everyone's talking about and the entire PHP community should by! Okay, really, there's a few blog posts about it, but it's definitely not one to pass up if you need a quality recource on using web APIs in PHP - Paul Reinheimer's "Professional Web APIs with PHP: eBay, Google, Paypal, Amazon, FedEx plus Web Feeds".

Chris Shiflett comments on his blog that, though he hasn't read it yet:

I know Paul has been working on it for well over a year, and it has already received a positive review from Nathan Smith.

The review gives praise to the book, noting that it provides good examples and helpful tutorials for each of the APIs talked about. The book covers its subject well without trying to "spread itself too thin" by including too much and not focusing on its core - APIs like eBay, Google, FedEx, Flickr, even the National Weather Service.

Even Paul himself comments on the occasion, mentioning what his intentions for the book were and how it changed along the way.

0 comments voice your opinion now!
book release web api google ebay weather flicker review book release web api google ebay weather flicker review


Zend Developer Zone:
30 Minutes with Adam Tracthenberg
August 07, 2006 @ 07:58:32

On the Zend Developer Zone today, Cal Evans shares another interview he did at this year's OSCON in Oregon, this time with Adam Tracthenberg.

Adam is the senior manager of Platform Evangelism at eBay. His job is to communicate to developers all the cool things possible with eBay's web services. We sat for a half-hour to discuss PHP, eBay, where things are and where they are going. Here's what he had to say.

They talk about how Adam got into both PHP and made his way to eBay, a glimpse into the eBay web services API, some talk about Adam's book, and what he sees for the future of PHP and its community.

And, of course, what would an interview be without a "fun" question - Cal asks Adam about his favorite technology right now, but you'll have to check out the interview for the answer to that question.

0 comments voice your opinion now!
internview oscon2006 adam tracthenberg ebay webservices php5 internview oscon2006 adam tracthenberg ebay webservices php5


Community News:
eBay Makes API Open and Free
November 15, 2005 @ 06:02:33

While it's not strictly PHP related, I know loads of PHP developers out there will be jumping with joy when they go and discover that eBay has opened their API for free use to the entire community.

From this post on Adam Trachtenburg's blog today:

I am extremely happy that today eBay made all of our API calls completely free of charge. You can get 10,000 API calls a month just by signing up, and when you pass a relatively painless evaluation, we'll increase that limit to 1.5 million calls a day. Now that's a call limit you can be proud of.

He mentions that one of the real barriers between customers using the API full was the pricing. So, they decided to drop that wall - and they're even throwing a party to celebrate. And, of course, what would a huge new offering like this be without a contest to go with it - the eBay Developer Challenge...

0 comments voice your opinion now!
ebay api free contest ebay api free contest


IBM developerWorks:
Develop eBay applications with PHP5 and Web services
November 10, 2005 @ 05:56:23

On the IBM developerWorks site today, they've posted Part 3 of their series "Develop apps with Web services and the eBay SDK", this time, focusing on building it with PHP5.

Create applications in PHP5 that interact with eBay through Web services. Almost half of eBay's transactions occur through its Web services platform. In this tutorial, you'll acquire a solid understanding of the mechanics of the eBay XML API and learn how to use the Services_Ebay PHP extension.

To get up to speed on the project, you might want to check out Part 1 and Part 2 (thought they're not dealing with PHP). You'll also need an understanding of what XML is and how it works to get the most accomplished with the web service. There are ten pages of information here, and they don't skimp on any of the details - there's tons of code and XML examples to get you familiar with the whole process.

To check out the full tutorial, head over here...

0 comments voice your opinion now!
IBM ebay web services XML IBM ebay web services XML



Community Events

Don't see your event here?
Let us know!


symfony2 laravel conference php7 series release library opinion example voicesoftheelephpant interview application performance framework api introduction part2 community configure podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework