is any simple web project using cassandra and php available? - php

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?

Related

How to connect Codeigniter API to an Android App

I have an API built in PHP Codeigniter. I imported it into Eclipse for PHP Developers successfully but I have no Idea how to connect it to my Android App and an existing online PHP database.
I also tried extending it but the core classes in Codeigniter are not available in eclipse's (for PHP) code completion (e.g. on hitting ctrl + space while extending CI_ classes, options are expected to pop up but they don't).
What can I do to make it work. I tried looking around and found a question here but it has no answers, so I am stuck. Here is the question (in here) that I came across: connecting php codeigniter with android.
Thanks.
I just had to learn Codeigniter from scratch to solve my problem.

How to use Phalanger to obfuscate php code on CodeIgniter?

I have been working on PHP application built using CodeIgniter framework, which needs to be deployed on client site. I want to protect php code by compiling it before deployment using Phalanger. For testing this I've created a demo project on CodeIgniter with just one function and controller. Now I just need to protect the controller/method I've created on the top of CodeIgniter while leaving rest of CodeIgniter as it is. I have tried several ways and also tried to find how to do it on google, but there isn't any good material on how to use Phalanger. Does any one had any success using Phalanger to obfuscate php code for deployment? Any tutorial or help will be good. Thanks
Phalanger allows compilation of PHP scripts into Multi Script Assemblies. However full obfuscation of generated DLL is a part of proprietary Phalanger extension which can be obtained from DEVSENSE support.

PHp Facebook application - good session / cache solution?

I am creating a facebook application with PHP SDK (and severals php pages) and I want a good system a session.
Do you know a good system of session/cache?
Thanks ;-)
The facebook PHP SDK uses sessions by default if your using the latest version of it.
https://github.com/facebook/php-sdk

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.

HBase and PHP user guide?

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).

Categories