Browsing "IT"

No Thumbnail

Symfony 筆記 (3): MVC Demo

Model-view-controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user [...]

May 25, 2008     2 Comments
Read More
No Thumbnail

Symfony 筆記 (2): YAML

Symfony 的設定檔都是用 YAML 格式來搞定的,當然要用 ini 或者 xml 也是可以,不過 YAML 算是很簡單好用的選擇。選擇使用 YAML 的好處就跟選擇用 Python 寫程式差不多,好讀好編輯然後記得要用 space 不要用 tab。 # Never use [...]

May 25, 2008     No Comments
Read More
No Thumbnail

Symfony 筆記 (1): Basics for Converting from PHP

Constant sfConfig::set('key', 'value'); echo sfConfig::get('key'); Using External PHP Class Place in lib/ directory Provide __autoload() function Symfony will automatically load [...]

May 24, 2008     1 Comment
Read More
No Thumbnail

VPS as Remote Desktop take 2

GDM over VNC was great, until I discovered FreeNX. FreeNX was based on NX technologies by NoMachine. Quoted from Wikipedia: [...]

May 20, 2008     No Comments
Read More
No Thumbnail

Turn your VPS/Dedicated Server into a Remote Desktop!

警告,這很惡搞 XD Why would you do that? Because you can! And the fact that it’s a VPS/Dedicated Server, chances are [...]

Apr 21, 2008     No Comments
Read More