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

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

Jul 22, 2016 am 09:02 AM
android php world big develop Open source potential of Wonderful project

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

Xiaomi Redmi Note 14 Pro Plus arrives as first Qualcomm Snapdragon 7s Gen 3 smartphone with Light Hunter 800 camera Xiaomi Redmi Note 14 Pro Plus arrives as first Qualcomm Snapdragon 7s Gen 3 smartphone with Light Hunter 800 camera Sep 27, 2024 am 06:23 AM

The Redmi Note 14 Pro Plus is now official as a direct successor to last year'sRedmi Note 13 Pro Plus(curr. $375 on Amazon). As expected, the Redmi Note 14 Pro Plus heads up the Redmi Note 14 series alongside theRedmi Note 14and Redmi Note 14 Pro. Li

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Oppo Find X8 design looks like a cross between Apple iPhone 16 Pro and OnePlus Open in early images Oppo Find X8 design looks like a cross between Apple iPhone 16 Pro and OnePlus Open in early images Sep 28, 2024 am 06:04 AM

Historically, Oppo has refreshed its flagship 'Find X' series in late winter or early spring, save for the original Find X that it announced in June 2018. To that end, the Find X7 and Find X7 Ultra are barely more than six months old at this point. H

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

7 PHP Functions I Regret I Didn't Know Before 7 PHP Functions I Regret I Didn't Know Before Nov 13, 2024 am 09:42 AM

If you are an experienced PHP developer, you might have the feeling that you’ve been there and done that already.You have developed a significant number of applications, debugged millions of lines of code, and tweaked a bunch of scripts to achieve op

Lenovo reveals new color option for the 2024 Legion Y700 gaming tablet Lenovo reveals new color option for the 2024 Legion Y700 gaming tablet Sep 29, 2024 am 06:05 AM

Lenovo is gearing up to launch the 2024 Legion Y700 on September 29 in China. This new Android gaming tablet will be going against the RedMagic Nova, and the company has already confirmed almost all the specs of the device. Now, hours before the full

See all articles