1 / 8

Google ctemplate php extension

Google ctemplate php extension. Vanilla Hsu <vanilla@FreeBSD.org>. What’s php ctemplate extension?. It’s php binding for google ctemplate library. Writen in c++ Ultra fast. Easy to use. Template from string. Why ctemplate?. Simple Speed Smart Easy to learn. Why not Smarty?.

jshipp
Download Presentation

Google ctemplate php extension

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Google ctemplate php extension Vanilla Hsu <vanilla@FreeBSD.org>

  2. What’s php ctemplate extension? • It’s php binding for google ctemplate library. • Writen in c++ • Ultra fast. • Easy to use. • Template from string.

  3. Why ctemplate? • Simple • Speed • Smart • Easy to learn

  4. Why not Smarty? • Slow • Complicated • Should we put logic on template file?

  5. How to install? • Ports/textproc/pecl-ctemplate on FreeBSD • http://people.freebsd.org/~vanilla/cTemplate-0.8.tar.gz

  6. How to use? • 5 steps. • 1: new ctemplate object. • 2: new ctemplate_dict object. • 3: set variable • 4: expand • 5: print it out.

  7. Customer • Pixnet • You could be next.

  8. Question?

More Related