


The 9 most promising PHP open source projects: Android development ranks first_PHP Tutorial
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>
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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

PHP is suitable for web development, especially in rapid development and processing dynamic content, but is not good at data science and enterprise-level applications. Compared with Python, PHP has more advantages in web development, but is not as good as Python in the field of data science; compared with Java, PHP performs worse in enterprise-level applications, but is more flexible in web development; compared with JavaScript, PHP is more concise in back-end development, but is not as good as JavaScript in front-end development.

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.
