[PHP] PEARX - A lightweight non-installer-dependent PEAR channel library.

2012-04-04 Thread Lin Yo-An
Hi folks,


Since we can't just use the channel info feature from PEAR, Pyrus installer
without installers, and it's hard to reuse.

To implements Onion packager, I wrote a lightweight PEAR channel client
library (PEARX) , without Installer dependency (like PEAR or Pyrus).

PEARX - A lightweight non-installer-dependent PEAR channel library.
https://github.com/c9s/PEARX

It's standalone, fast and cacheable.

Enjoy!




Best Regards,

Cornelius (c9s)


[PHP] Roller - A High Performance Router for PHP5.3 and PHP5.4

2012-02-29 Thread Lin Yo-An
Hi folks,

we have working on a PHP router project for a while, now we have a final
stable release for this.

Roller - high performance router for PHP5.3+
https://github.com/c9s/Roller

And we wrote an extension for dispatching routes, by using this extension,
the dispatch performance is faster 1607% than original PHP version.
(extension is optional).

RESTful support, you can easily define RESTful paths for records.

Features:

   - Highly customizable
   - Flexible
   - APC cache support.
   - File cache support.
   - Built-in *RESTful* route generator, resource handler.
   - Customizable RESTful route generator, resource handler.
   - Simple, Useful route path syntax. (rails-style)
   - High performance (through PHP extension, can dispatch *1607%* faster
   than pure php version)
   - High unit test coverage, coverage > *88%*.




-- 
Best Regards,

c9s@github

- Onion project (PHP package builder): http://github.com/c9s/Onion


[PHP] PhpBrew is released

2012-02-08 Thread Lin Yo-An
Hi folks,

phpbrew builds and installs multiple version php(s) in your $HOME directory.

phpbrew is like php-build , but phpbrew also manage the environment
variables,
so you can switch php version whenever you need.

phpbrew is on GitHub: https://github.com/c9s/phpbrew

patches are welcomed.



Best Regards,

Yo-An Lin (c9s)

GitHub: https://github.com/c9s


[PHP] Onion PEAR Packager 0.0.11 Released

2011-12-28 Thread Lin Yo-An
Hi folks,

Onion 0.0.11 has been released, a bundle feature is included.

You can use Onion to build your PEAR package very very easily through a
package.ini meta config file.

Through that, you can also install the PEAR package dependencies into local
directory

So the package can be bundled easily, and can be compiled into a phar file
(through onion "compile" command") with a built-in PSR-0 classloader.

Blog post:
http://c9s.blogspot.com/2011/12/announcing-onion-bundle-feature.html

Onion is hosted on GitHub
http://github.com/c9s/Onion

You can download a standalone onion executable here:

curl https://github.com/c9s/Onion/raw/master/onion.phar > ~/bin/onion.phar

Run onion.phar to see the available commands:

  $  php onion.phar


-- 
Best Regards,

Yo-An Lin (c9s)


[PHP] Question about performance between for iteration and extension function

2011-12-09 Thread Lin Yo-An
Hi folks,

I am in doubt of this, I thought pure php iteration is slower than calling
join or other extension functions.

but the result shows:  https://gist.github.com/b2a94c94ca66a55814d4

Using Pure PHP for iteration is faster than using join function. why ?
because of the php runtime typecasting ?

And json_encode is the most slowest.

-- 
Best Regards,

Yo-An Lin


[PHP] Introducing Onion - Another PHP packager

2011-12-01 Thread Lin Yo-An
Hi All,

I'm currently working on a PEAR packager, which uses a very simple config
file to generate PEAR package (package.xml 2.0 compatible mostly).  It
started from an internal use of our company, but we'd like to open source.

It's called Onion.

Onion provides a standalone phar file to build package from package.ini
file, to build a basic package, what you only need is 5 lines:

[package]
name = package name
desc =  package description
version = 0.0.1
author = Author Name 

stability, channel, dependency, roles, contents are also able to be
specified.

Here is some demo and screenshot:
http://c9s.blogspot.com/2011/12/php-current-onion-php-package-builder.html

This project is hosted on GitHub:
https://github.com/c9s/Onion

And our pear channel
http://pear.corneltek.com/

Hope you will like it.


Thanks


Best Regards,

Yo-An Lin (c9s)


[PHP] new xampp server problem w/mail

2008-12-15 Thread Ian Lin
hi I have been searching for a way to get the php mail function to work and 
have had no luck. I was hoping you could address my situation:
 
I have a fairly new xampp install and I need to know how to get mail() to work. 
I would like to know tha simplest way possible to get the mail function to 
work. I guess the major problem is that my xampp install doesn't have an email 
server. please advise my what I need to do to get one for a linux box.
 
Please keep in mind that I am a newbie and need detailed instructions for 
installing any software and configuring any files that may need altered in the 
server's configuration files such as php.ini etc...
 
email me at linia...@yahoo.com if you can help.
 
Thanks,
Ian

[PHP] recommending a PHP book?

2005-03-15 Thread Danny Lin
Can any one recommend a good book that discusses MVC design patterns with
PHP (and mySQL)?

Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Printing ASCII on Linux Server

2002-09-02 Thread Mingshuo Lin

I am trying to printout some ASCII Text (using LPR,
script see below) to a IBM Proprinter compatible
dot-matrix printer, on a server running Linux.

Printing works fine, however 2 problems:

1. linefeed ("\n") doesn't work

2. escape sequences to print BOLD, ITALIC, UNDERLINE,
NARROW don't work

Any help is appreciated!!

Thanks!
LM
--

---


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php created pages's create time

2002-08-26 Thread lin

Dear Sir,

we use php4.1.1+apache put html pages to IE from mysql DB, We find the
created pages's create time is not availability, this let me a lot of
discommodity, our webpage cann't index in yahoo etc. search engine.

please help me, let me know how to avoid it.


Mr.lin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: php created pages's create time

2002-08-26 Thread lin

Dear Sir,

we use php4.1.1+apache put html pages to IE from mysql DB, We find the
created pages's create time is not availability, this let me a lot of
discommodity, our webpage cann't index in yahoo etc. search engine.

please help me, let me know how to avoid it.


Mr.lin




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php