The 9 most promising PHP open source projects: Android development ranks first_PHP Tutorial

WBOY
Release: 2016-07-22 09:02:27
Original
910 people have browsed it

The open source world of PHP is quite exciting, and you are also exposed to many famous PHP open source projects, such as Drupal, Sugar CMS, Joomla, etc., but in this article, the author will select 9 latest ones that are not too well-known, but It can be very practical in some aspects. It is still in the development stage and is a PHP open source project with great potential. I believe that all readers will be amazed after reading it: It turns out that PHP can do so many things.

1. PHP FOR Android

Now, iPhone and Android are very popular, and owning them has become a trend. And Android's market share is also becoming larger and larger.

Now, in addition to using JAVA to write Android applications, there is another option, that is, you can use PHP to write related Android applications. This is all thanks to an open source project Php For Android (http:// phpforandroid.net/). It is actually implemented using the Android interface API provided by another open source project Scripting Layer for Android (SL4A) (http://code.google.com/p/android-scripting/). Any scripting language that supports SL4A (such as Javascript, Ruby, Perl, PHP, and Python) can directly interact with the operating system through interfaces and write applications.

If you want to know more about this project, you can read the following article "Build Your First PHP for Android Application".

2. PL/PHP

Some database tasks involve very complex logical calculations, rather than simply using a few SQL statements to solve the problem. In order to reduce its complexity, many database solutions provide stored procedures, which encapsulate the logic to complete the task in a subroutine. The functions of any of these subroutines are actually just like functions in PHP.

Stored procedures can be written in corresponding SQL. For example, Microsoft's stored procedures use T-SQL, and Oracle uses PL-SQL. For example, the PostgreSQL database can execute stored procedures written in C, C++, Java, Ruby, Perl, and Python. With the PL/php open source project (https://public.commandprompt.com/projects/plphp/wiki), now you You can use PHP to write stored procedures.

After installing the PL/PHP project, you can execute stored procedures written in PHP under PostgreSQL. You can use the PHP syntax you are familiar with, which is very simple.

3. PHP-QT

PHP-QT project (http://developer.berlios.de/projects/php-qt/) allows you to use PHP language to write functions that implement QT. In other words, 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 provides application developers with all the functionality they need to build state-of-the-art graphical user interfaces. Qt is fully object-oriented, easily extensible, and allows true component programming.

But unfortunately, the development of this project has been a bit slow in recent years. If you are really interested, it is recommended to study the PHP-GTK project (http://gtk.php.net/)

4. Phuby

Recently, Ruby core team member Aaron Patterson completed phuby, which can run php applications under Rails applications. The address of the project is https://github.com/tenderlove/phuby. Although the project host Aaron has released several videos to prove that phuby can make php run under Rails, in fact, in the Rails community, phuby is probably just a Just an experimental product.

5. Another phuby

Sean Huber also released another project with the same name, also called phuby, but this one has nothing to do with the one introduced above. The project address is https://github.com/huberry/phuby. This project adds several interesting features to php, and you only need to set include_path in php to point to the location of phuby's library. Although the project is still in its early stages, it actually combines some features of PHP and Ruby.

6, Objective-PHP and Moka

Objective-PHP and Moka are two ambitious projects headed by Stephen Lerodiaconou. TObjective-PHP (https://github.com/stevegeek/moka) and Moka (https:/ /github.com/stevegeek/moka) These two projects are very ambitious projects developed by Stephen Lerodiaconou. They added Object-C language and Cocoa framework to the PHP language (Note: Cocoa is developed for the Mac OSX operating system language). The documentation in their project claims that these new features will appeal to the original Capucchino developers.

You can watch this video (http://vimeo.com/9838953) to learn about these two frameworks.

7. Php-serial

Do you want to control serial and parallel port devices such as video, audio or computer by writing PHP language? Now it can become a reality. It can be easily implemented using the open source project php-serial (http://code.google.com/p/php-serial/). For example, you only need to call the deviceSet() method and pass the serial port name in. Then you can use simple reading and writing methods, such as:

<ol class="dp-c">
<li class="alt"><span><span><?  </span></span></li><li><span>deviceSet(</span><span class="string">'COM2'</span><span>);  </span></li><li class="alt"><span class="vars">$seria</span><span>-->deviceOpen();  </span></span></li>
<li>
<span class="vars">$serial</span><span>->sendMessage(</span><span class="string">'Sending a message to the port!'</span><span>);  </span>
</li>
<li class="alt">
<span class="vars">$serial</span><span>->deviceClose();  </span>
</li>
<li><span>?> </span></li>
</ol>
Copy after login

8, Apns-PHP

in Apple’s operating system 3.0 and above, you can enjoy Apple's push information service, referred to as Apple Push Notification Service (APNS), and obtain all kinds of useful information in a timely manner.

Now, you can use PHP to implement this function. The apns-php project provides this function. The project address is http://code.google.com/p/apns-php/. The project’s documentation claims APNS API It was completed on December 17, 2010, and can provide new features such as custom reminder images and localized buttons.

There is a good introductory article to guide you in learning 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 property lists to manage serialized data. These property lists can be set through Apple's tools such as plutil. However, some developers hope to manage this data in a way they are familiar with. There are currently many open source projects that can achieve this purpose. For example, CFPropertyList is one of them. The project address is:

https://github.com/rodneyrehm/ CFPropertyList, which allows PHP developers to create property lists and then send them to iPhone applications.

http://publish.itpub.net/a2011/0119/1151/000001151724.shtml


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445849.htmlTechArticle The open source world of PHP is quite exciting, and everyone is also exposed to many famous PHP open source projects, such as Drupal, Sugar CMS, Joomla, etc., but in this article, the author will select 9 of the latest...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template