resin支持php了, 散分200

iasky 2006-09-26 08:02:46
Quercus: PHP in Java

Quercus is Caucho Technology's fast, open-source, 100% Java implementation of the PHP language

Introduction to Quercus

Quercus is Caucho Technology's fast, open-source, 100% Java implementation of the PHP language. Quercus is a featur

What is Quercus
Quercus implements PHP 5 and is internationalization/localization (i18n/l10n) aware. Quercus natively supports Unicode and the new Unicode syntax of the up-and-coming PHP 6. Quercus implements a growing list of PHP extensions (i.e. APC, iconv, GD, gettext, JSON, MySQL, Oracle, PDF, Postgres, etc.) Many popular PHP applications will run as well as, if not better, than the standard PHP interpreter straight out of the box. The growing list of PHP software certified running on Quercus includes DokuWiki, Drupal, Gallery2, Joomla, Mambo, Mantis, MediaWiki, Phorum, phpBB, phpMyAdmin, PHP-Nuke, Wordpress, and XOOPS.

Resin with Quercus
Quercus is much more than just yet another PHP engine. Quercus is the first to tightly integrate the web server with a PHP engine. Quercus runs on top of Caucho Technology's Resin Application Server. As a result, PHP applications can automatically and immediately take advantage of Resin's advanced features like connection pooling, distributed sessions, load balancing, and proxy caching.

A New Java/PHP Architecture
Quercus is pioneering a new mixed Java/PHP approach to web applications and services. On Quercus, Java and PHP is tightly integrated with each other - PHP applications can choose to use Java libraries and technologies like JMS, EJB, SOA frameworks, Hibernate, and Spring. This revolutionary capability is made possible because 1) PHP code is interpreted/compiled into Java and 2) Quercus and its libraries are written entirely in Java. This enables PHP applications and Java libraries to talk directly with one another at the program level. To faciliate this new Java/PHP architecture, Quercus provides an API and interface to expose Java libraries to PHP.

Benefits of Quercus
Quercus and Quercus' PHP libraries are written entirely in Java, thereby taking the advantages of Java applications and infusing them into PHP. PHP applications running on Quercus are simply faster, easier to develop, more capable, more secure, and more scalable than any other PHP solution.

Performance - simply faster
Quercus outperforms straight mod_php by about 4x for MediaWiki and Drupal.
PHP developers can use Java tools like profilers to get in-depth information about the PHP program performance.
Development - fast, safe, and easy
PHP extensions written in Java are fast, safe, and relatively easy to develop compared to those written in C. Since Java is the library language, developers won't need to be paranoid about third-party libraries having C-memory problems or segvs and are freed to concentrate on solving the objectives at hand.
Capability - powerful Java technologies at the developer's fingertips
Quercus has the best of both worlds: PHP and Java. PHP applications can take advantage of Java technologies like JMS, EJB, SOA frameworks, Hibernate, and Spring.
Security - no more pesky C memory bugs
All Quercus extensions libraries are coded in Java. Therefore, developers do not have to worry about C pointer overruns and segmentation faults from PHP extensions anymore.
Scalability - PHP for the masses, literally
Thanks to Resin, PHP applications can beautifully scale to as many servers as desired.
PHP applications can now enjoy connection pooling, distributed sessions, fail-safe load balancing, and proxy caching. These benefits require no change in the PHP code.
Quercus gives both Java and PHP developers a fast, safe, and powerful alternative to the standard PHP intepreter. Developers ambitious enough to use PHP in combination with Java will benefit the most from what Quercus has to offer.

Getting Started with Quercus
Quercus is officially part of 3.1.0. Please go through the Hello World tutorial to get a simple PHP page up and running on Quercus.

Overview

Overview, status, and discussions on Quercus, Caucho's Java implementation of the PHP language.


Resin Funs

Quercus provides a number of Resin-specific function to integrate with JNDI, JMS, JMX, and provide extra debugging.


Tutorials
Hello World
Java Modules
JSON
PDO

--------------------------------------------------------------------------------

...全文
538 点赞 收藏 23
写回复
23 条回复
kenesyu 2006年09月28日
学习
回复 点赞
xqi8 2006年09月28日
good
回复 点赞
specialjuly 2006年09月28日
mark
回复 点赞
颓废的老猫 2006年09月28日
接分~
回复 点赞
mhjl 2006年09月27日
jf
回复 点赞
iasky 2006年09月27日
up
回复 点赞
caotian2000 2006年09月27日
学习中....
回复 点赞
freelyl 2006年09月27日
更新CLASS的时候一样和TOMCAT一样慢的吧.....如果是这样,永远也比不上.NET开发网页快。
回复 点赞
ashchen 2006年09月27日
resin跟tomcat是一个类型的,都是容器,搞java和jsp的比较清楚
也自带http服务,配置比tomcat方便
如果支持php当然是好事情!调用java的强大功能,嘿嘿,前途不错
回复 点赞
zeroleonhart 2006年09月27日
resin

-------------------------
Is this a tool to make IIS support java ???
回复 点赞
anshenghao 2006年09月27日
学习一下~~~
回复 点赞
poiu_poiu 2006年09月27日
jf
回复 点赞
mingxuan3000 2006年09月27日
学习
回复 点赞
wwx840723 2006年09月27日
学习中~
回复 点赞
virgolong 2006年09月26日
裤衩万岁
回复 点赞
ibeta 2006年09月26日
新人来接分
回复 点赞
netflier 2006年09月26日
好象现在看不懂 帮加加人气
回复 点赞
aday 2006年09月26日
不搞java很久了,resin都要快被遗忘了
回复 点赞
papaxiong 2006年09月26日
resin??不懂是什么来得
回复 点赞
wuyz124 2006年09月26日
不知道resin。
lz解释一下啊,照顾一下我们这些小三角
回复 点赞
发动态
发帖子
基础编程
创建于2007-09-28

9733

社区成员

14.0w+

社区内容

从PHP安装配置,PHP入门,PHP基础到PHP应用
社区公告
暂无公告