HBase and PHP user guide? - php

I could not find a proper tutorial or guide on using PHP and Habse from the initial setup, lubraries to actually making it work with sample code. Are there any guides / tutorials as i want to use Hbase with my php codeignitor and mysql website for few really large read/write tables. I am brand new to hbase so starting fresh hence looking for a guide.

Integrate Hbase with PHP

There not a direct php to hbase api, you will actually use thrift to communicate or you can use their REST API (stargate).

Related

Implementing a REST API w/ Google App Engine

I have already created a REST API w/ the Slim framework (php microframework), which is basically a few php files in a ftp server, and a SQL table.
I want to implement this very simple configuration with Google Api Engine, and there's so much resources and confusing pages in the google tutorials I can't seem to find what I'm looking for...
Can someone steer me to the right direction please ? Again, just a few php files (w/ Slim) and a sql database, that's it.
Thank you very much.
If I were you I would begin with the PHP tutorial for Google App Engine, that you can find here 1.
Try to deploy your existing app there, but be aware that the PHP runtime is still in Beta. Also your app will execute in a restricted "sandbox" environment 2.
Hope it helps.

Adding REST API to existing PHP website

I'm using some open source code to launch a game. The game is old, around 11yrs. It is a tick based web based game. It's written in php and using MySQL. Basically I want to port this game to ios, instead of using uiwebview I want to build native controls.
I know that it's bad practice to communicate directly with MySQL from an ios app. So what I want to do is add a RESTful API. I'm new to this and have scoured google for answers, does anyone have any pointers of where to start when adding an API to an existing site? It's quite a complex structure.
Thanks.
Paul.
My suggestion is using a framework that is guided towards building an API. I use Slim Framework for my API back end and it's pretty easy to use. If you create a separate URL for this API or include directly into the PHP project as a class it could work.
Some tutorials to get you started are
Say Hello World with Slim
RESTful services with jQuery, PHP and the Slim Framework
Writing a RESTful Web Service with Slim
Hope this helps,
Wes

How can I integrate webconnector and my own website with using only PHP?

I am trying to integrate webconnecter and my own website for automatically syncing from website to quickbook software..
I am trying keith parmer's webconnecter and his php dev' kit.But I think I need to create a web service with C# ,to connect each other..
(I am not fluent in C#.
I need a solve only from PHP..)
these are my references
http://www.consolibyte.com/wiki/doku.php?id=quickbooks
and
http://developer.intuit.com/qbSDK-current/doc/​PDF/​QBWC_​proguide.pdf
I think I am confusing through the lot of codes and reference guides...
Please some one help me to reach to the correct path.
Download the QuickBooks PHP DevKit, and follow the quick start guide.
When you have questions, use the support forums:
https://idnforums.intuit.com/categories.aspx?catid=56&entercat=y
http://consolibyte.com/forum/
You might want to try the search too. There's like 100 other threads about QuickBooks and PHP out there already, and Google provides a ton of QuickBooks PHP search results.

Can I run php mysql in google app engine

I am planning to create a facebook canvas app using php sdk.
Google app engine providing free account so I am planning to do it.
But still there is a problem , right now google app engine support only java and python.
Is there any way to run php and mysql in google app engine?
Okay, I am two years late, but from today PHP is officially available on Google App Engine.
PHP can't run natively on the App Engine. But, there is an open source tool called Quercus, a 100% Java implementation of the PHP language (requires JDK 1.5). Since the App Engine now supports Java this means you can use Quercus to run PHP scripts on the App Engine.
You can run PHP scripts on App Engine in the JVM with Quercus; however, it's still not possible to use mySQL; you'll need to use the App Engine datastore. This will require rewriting any code that touches a database, so existing PHP scripts aren't going to work without a lot of hacking.
Note: relational database support is on the App Engine roadmap, but no one knows exactly when it will be available, or whether the relational database made available will be mySQL.
Google App engine now supports PHP run time. Check official documentation here - https://developers.google.com/appengine/docs/php/
You can check this blog for details on announcement - http://spsneo.com/blog/2013/05/18/php-on-google-app-engine/
Quercus is not as good as running PHP natively and it has known issues. As i understand you are starting to create an application, so i suggest using Python in appengine. Its very easy to get started.
If you have LAMP based application in mind and if you do not want to learn a new language check out Amazon Beanstalk.
I suggest making a decision based on the strengths of the platform and flexibility you need.
Google has officially announced its support for PHP on Google App Engine (GAE)
How to host PHP web application on GAE for free is explained in this tutorial.

is any simple web project using cassandra and php available?

We are doing project using PHP and Cassandra. If any already finished a project using PHP and Cassandra, that is available means that will helpful for reference. Is there is any sample project available? And Facebook uses Cassandra - can we get some inputs from Facebook experience and tools? Is Facebook maintain as opened?
http://wiki.apache.org/cassandra/ThriftExamples Does that help?

Categories