遊客:  註冊 | 登錄 | 幫助





標題: [分享] Develope Website in PHP with cake
lhy     Rank: 3
青出藍
性別 男
UID 14043

精華 0
帖子 121
積分 330   詳情

閱讀權限 40
註冊 2006-10-16
來自 Netherlands
狀態 離線

 
 
 
 
發表於 2007-4-25 07:12 AM  資料  個人空間  短訊  加為好友 
Develope Website in PHP with cake

Anyone know Cake PHP? I am trying this nice framework out at this moment. And I have to say. In the beginning you really need to get used to it. But when you understand how this framework works. It is really nice to work with.

Download Cake PHP

I have followed a tutorial to test how this framework works.

I really recommend this to you all. I really like this framework (also because it is base on how Ruby on Rails works ) to you all.

頂部

  小神     Rank: 4Rank: 4
水中藍
性別 保密
UID 11831

精華 0
帖子 2634
積分 1386   詳情

閱讀權限 50
註冊 2006-9-12
來自 天堂
狀態 離線

 
 
 
 
發表於 2007-4-25 08:57 AM  資料  個人空間  短訊  加為好友 


QUOTE:
原帖由 lhy 於 2007-4-25 07:12 AM 發表
Anyone know Cake PHP? I am trying this nice framework out at this moment. And I have to say. In the beginning you really need to get used to it. But when you understand how this framework works. It ...

我第一次聽..
岩岩望左兩眼個introduction..
sounds good...

頂部



mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-4-25 10:02 AM  資料  個人空間  短訊  加為好友 
唔該晒!!  早 d 識您就好喇﹐我有幾個 projects (freelance) 做緊﹐如果可以用 Cake 就好呢!  而家要轉可能會遲左 d﹐不過都可以試下!

set 同 save 係唔係 ruby on rails 既野黎架呢?

頂部

  小神     Rank: 4Rank: 4
水中藍
性別 保密
UID 11831

精華 0
帖子 2634
積分 1386   詳情

閱讀權限 50
註冊 2006-9-12
來自 天堂
狀態 離線

 
 
 
 
發表於 2007-4-25 12:55 PM  資料  個人空間  短訊  加為好友 


QUOTE:
原帖由 mickeyGoUp 於 2007-4-25 10:02 AM 發表
唔該晒!!  早 d 識您就好喇﹐我有幾個 projects (freelance) 做緊﹐如果可以用 Cake 就好呢!  而家要轉可能會遲左 d﹐不過都可以試下!

set 同 save 係唔係 ruby on rails 既野黎架呢?

都唔遲ar..
咁我諗你之後都可以用o既~
我好地未用過php..
所以下次要用就知道可以用蛋糕la...

頂部

lhy     Rank: 3
青出藍
性別 男
UID 14043

精華 0
帖子 121
積分 330   詳情

閱讀權限 40
註冊 2006-10-16
來自 Netherlands
狀態 離線

 
 
 
 
發表於 2007-4-25 08:49 PM  資料  個人空間  短訊  加為好友 
set is not really come from Ruby on Rails because Ruby on Rails use different types of vars. Set actually like how smarty (php) pass data to the template.

Save is how ruby works yes. Because all models represent a record in the database (like Entity in EJB). You can easily set all the data in the model and tell it to save (commit). beside ruby java EJB's Entity Manager works this way to.

Also the advantage of this framework is the structure of your application. Like I told CoolQQ before for his Java game it is really important to make the structure good. Because of this framework you are forced to work with MVC (Model-View-Controller). This way it keeps your code really clean (the business logic and html are keep separate).



最後編輯: lhy : 2007-4-25 08:55 PM
頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-4-28 11:29 AM  資料  個人空間  短訊  加為好友 


QUOTE:
原帖由 小神 於 2007-4-24 11:55 PM 發表
都唔遲ar..
咁我諗你之後都可以用o既~
我好地未用過php..
所以下次要用就知道可以用蛋糕la...

係呀﹐下個 project 就會試下!    現有 project 就無時間改 luu...

頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-4-28 11:31 AM  資料  個人空間  短訊  加為好友 


QUOTE:
原帖由 lhy 於 2007-4-25 07:49 AM 發表
set is not really come from Ruby on Rails because Ruby on Rails use different types of vars. Set actually like how smarty (php) pass data to the template.

Save is how ruby works yes. Because all ...

Thanks for your explanation!  I am really interested in giving it a try.  But I will need some time to learn the framework first.  Hopefully will have time to do so before summer!  

頂部

快速美言
           


當前時區 GMT+8, 現在時間是 2024-11-27 07:23 AM

    Powered by Discuz!  © 2001-2007 Comsenz Inc.   
Processed in 0.015326 second(s), 9 queries

清除 Cookies - 聯繫我們 - LIPS Corner 新天藍 - Archiver