PHP's Open source world is quite exciting, including many of the famous PHP open source projects, such as Drupal, Sugar CMS, Joomla, etc., but in this article, the author will choose 9 The latest popularity is not too high, but in some aspects is very practical, is still in the development stage, Great potential for PHP open source projects. I'm sure you'll marvel at the fact that PHP is capable of so many things.
1. PHP for Android
Now, the iphone and Android are a big line, owning them has become a trend. And Android's market share has become more and more big.
Now, in addition to using Java to write Android apps, there is one more option, that is, you can use PHP to write related Android applications, thanks to an open source project PHP for Android (http://phpforandroid.net/). It actually takes advantage of another open source project scripting Layer for Android (SL4A) (http://code.google.com/p/android-scripting/) provided by the Android interface API to implement the , any scripting language that supports sl4a (such as Javascript,ruby, perl,php, and Python) can interact directly with the operating system via an interface and write applications.
If you want to know about this project, you can read the following article "Build Your first PHP for Android application".
2, pl/php
Some database tasks involve complex logical computations, rather than simply using a few SQL statements to solve the problem. In order to reduce its complexity, many database solutions provide a stored procedure that encapsulates the logic to complete a task in a subroutine that functions like a function in PHP.
Stored procedures can be written in the appropriate SQL, such as Microsoft's stored procedures using T-sql,oracle is used Pl-sql. For example, the PostgreSQL database can execute stored procedures written by C,c++,java,ruby,perl,python, while the pl/php Open source project (https://public.commandprompt.com/projects/ Plphp/wiki), you can now use PHP to write stored procedures.
When the pl/php project is installed, you can execute a stored procedure written in PHP under PostgreSQL, which is easy to use with your familiar PHP syntax.
3, PHP-QT
The PHP-QT project (http://developer.berlios.de/projects/php-qt/) allows you to use the PHP language to write functions that implement QT, meaning that you can use PHP-QT to write some powerful desktop applications. The so-called QT is a cross-platform C + + graphical user interface application framework. It gives application developers the functionality they need to build an art-level graphical user interface. QT is completely object-oriented, easy to scale, and allows for true component programming.
But it's a pity that the project has been a bit sluggish in recent years, and if it does, it's recommended to study the PHP-GTK project (http://gtk.php.net/)
4, Phuby
Recently, the Ruby core team member Aaron Patterson completed the Phuby, which runs the PHP application under the Rails app. The project's address is in Https://github.com/tenderlove/phuby, although project host Aaron has released several videos to prove that Phuby can let PHP run under rails, but actually in the rails community, It is estimated that Phuby is only an experimental product.
5. Another Phuby
Sean Huber also released another project of the same name, actually called Phuby, but this has nothing to do with the introduction of that. The project address is in Https://github.com/huberry/phuby. This project adds several interesting features to PHP, and only needs to set the location of the include_path point to Phuby in PHP . Although the project is in a relatively rudimentary phase, it is already a combination of PHP and Ruby features.
6, objective-php and Moka
Objective-php and Moka are, ambitious projects headed by Stephen Lerodiaconou. Tobjective-php (Https://github.com/stevegeek/moka) and Moka (Https://github.com/stevegeek/moka) are two projects by Stephen Lerodiaconou. A very ambitious project led by the development, they added the object-c language and the Cocoa framework to the PHP language (note: Cocoa is the Mac OSX operating system development language). The documents in their project claim that these new features will appeal to the original Capucchino developers.
You can watch this video (http://vimeo.com/9838953) to learn about the two frameworks.
7, Php-serial
Do you want to manipulate the serial and port devices of video, audio or computer by writing the PHP language? Now it's time to become a reality. Using Php-serial, the Open Source project (http://code.google.com/p/php-serial/), can be easily implemented. For example, only need to call the Deviceset () method, the serial port name is passed in, then you can use simple reading and writing methods, such as:
-
- deviceset (' COM2 ');
- $seria -->deviceopen ();
- $serial ->sendmessage (' sending a message to the port! ' );
- $serial ->deviceclose ();
8, apns-php
With more than 3.0 of Apple's operating system, you can enjoy Apple's push message service, called Apple Push Notification Service (APNS), to get all kinds of useful information in a timely manner.
Now, you can use PHP to implement this feature, the Apns-php project provides this functionality, the project address in http://code.google.com/p/apns-php/, the project's documentation claims APNS The API was completed on December 17 in 2010 and offers new features such as custom reminder images and localized buttons.
There is a good introductory guide to your study of apns-php (http://blog.boxedice.com/2009/07/10/ how-to-build-an-apple-push-notification-provider-server-tutorial/)
9, Cfpropertylist
The Cocoa framework uses a list of attributes to manage serialized data. These list of properties can be set through Apple's tools such as Plutil. However, some developers want to use their familiar way to manage the data, there are many open source projects to achieve this goal, such as Cfpropertylist is one of them, project address in:
Https://github.com/rodneyrehm/CFPropertyList, which allows PHP developers to create a list of attributes and then send it to the iphone app.
Http://publish.itpub.net/a2011/0119/1151/000001151724.shtml
http://www.bkjia.com/PHPjc/445849.html www.bkjia.com true http://www.bkjia.com/PHPjc/445849.html techarticle PHP's Open-source world is quite exciting, including many of the famous PHP open source projects, such as Drupal, Sugar CMS, Joomla and so on, but in this article, I will choose 9 of the latest ...