PIXNET Logo登入

太陽底下沒有新鮮事

跳到主文

在微醺的午後…追逐著夏季的風…

部落格全站分類:視覺設計

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 4月 30 週五 201023:04
  • 來種一顆梨子吧 - 前言

雖然說現在在PHP界流傳的Framework套件非常多
而大爺也覺得「梨子」好像也沒什麼人在玩它
不過既然它曾經紅極一時
(或許啦,但大爺好像也錯過那個時代了…^^")
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(60)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 28 週三 201012:37
  • 安裝pear的圖形管理介面

pear.conf
 
話說昨天裝完了pear之後…接下來就是要準備使用啦
不過在這之前…先來裝裝看「pear圖形管理介面」是怎樣子好了
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(326)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 27 週二 201011:08
  • ubuntu安裝pear

大爺最近在台北的圖書館借了一本PHP PEAR(註1)的書
要來好好的研究一下PHP PEAR到底是在搞什麼鬼 ^^"
好啦…就讓我們好好的照著書上的指令裝一下PEAR
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(1,119)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 27 週二 201009:32
  • Telling Pyrus how to load your plugin: <class> and <autoloadpath>

前言
以下的文章是從pear官方網站所擷取下來的(應該是沒有版權問題吧 ^^")
是大爺的學習筆記
所以如果翻譯有什麼地方有錯誤,請告知大爺,感恩哩 ^^
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(27)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 26 週一 201014:32
  • Creating plugins for Pyrus (為pyrus建立外掛)

前言
以下的文章是從pear官方網站所擷取下來的(應該是沒有版權問題吧 ^^")
是大爺的學習筆記
所以如果翻譯有什麼地方有錯誤,請告知大爺,感恩哩 ^^
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(28)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 22 週四 201009:47
  • Pyrus Custom Commands: differences from PEAR (pyrus 自定命令:不同於pear)


前言
以下的文章是從pear官方網站所擷取下來的(應該是沒有版權問題吧 ^^")
是大爺的學習筆記
所以如果翻譯有什麼地方有錯誤,請告知大爺,感恩哩 ^^

Overview (概論)
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(50)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 20 週二 201010:34
  • Pyrus Post-install scripts: differences from PEAR (pyrus 登記-安裝腳本:和pear差別)




前言


以下的文章是從pear官方網站所擷取下來的(應該是沒有版權問題吧 ^^")


是大爺的學習筆記


所以如果翻譯有什麼地方有錯誤,請告知大爺,感恩哩 ^^




Overview (概論)







Post-install scripts (documented
here
and here)
are mostly the same in Pyrus with a few important differences.



The XML format in package.xml is identical, so no change need be made to
the <paramgroup> or other tags. The script itself
should still follow the naming conventions of PEAR. The only real difference
is the naming of methods within the script.




(post-install scripts {文件 這裡和這裡) 大部份相同在pyrus中有著少許重要的不同{怪怪…這是什麼意思?}。 XML格式在package.xml是完全相同的,所以沒有改變需要建立<paramgroup>或是其它標籤。script它自已應該依然遵循pear的命名規則。唯一實際的不同是在script之內方法的命名。)





PEAR requires that all post-install scripts implement init(),
run() and optionally postProcessPrompts().
Pyrus requires post-install scripts to implement init2(),
run2(), and optionally postProcessPrompts2().
This allows PEAR and Pyrus-based post-install scripts to co-exist in the
same package without difficulty. Note that post-install scripts must be
E_STRICT and E_DEPRECATED compliant,
otherwise many PHP warnings will be emitted. One way of handling this issue
is to put PHP4 non-E_STRICT-compatible code into a separate file and include it
dynamically at run-time. The same should be done for any PHP5+ non-PHP4
compatible code if the post-install script is expected to be able to run in PHP 4.




(pear 要求所有的post-install script實作init(),run()和可選擇的postProcessPrompts()。pyrus要求post-install scripts 去實作init2(),run2()和可選擇的postProcessPrompts2()。這是允許pear和pyrus-based post-install scripts 沒有困難的並存在相同的套件中。注意post-install scripts 必須被 E_STRICT和E_DEPRECATED 配合使用,否則會產生許多的PHP 警告。操作這個發佈的一個方式是放置PHP4 non-E_STRICT-compatible 碼在一個分開的檔案和自動的配置在執行期間。假如post-install script 預期也要能夠在PHP4中執行,相同應該也要做任何的PHP5+非PHP4相兼容的程式碼。{不懂最後一行是啥意思 @@})







The init2 method (init2 方法)




The init2() method should accept two parameters like so:


(Init2()方法應該接授兩個參數像是這樣:)




<?php
function init2($pkg, $lastversion)
{
}
?>




$pkg is an object representing the package, and
$lastversion is the last installed version of the
package.


($pkg 是一個物件描術這個套件,而$lastversion是這個最後安裝套件的版本。)


 





The run2 and postProcessPrompts2 methods (run2和postProcessPrompts2 方法)




These two methods should accept identical parameters to what the PEAR
equivalent accepted. The only reason these are called is to allow
easy differentiation between what kind of installer is calling the post-install
script.


 




(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(83)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 4月 12 週一 201010:50
  • pyrus筆記- 從pear改良的安裝程式 (Improvements from the PEAR Installer)

前言
以下的文章是從pear官方網站所擷取下來的(應該是沒有版權問題吧 ^^")
是大爺的學習筆記
所以如果翻譯有什麼地方有錯誤,請告知大爺,感恩哩 ^^
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(425)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 3月 29 週一 201015:49
  • 難啃的梨子…再論php pear....

上回說到pear…
(其實是前一分鐘啦…大爺不喜歡把文章拉的太長…太佔版面…所以就分開寫好了 @@)
真的是搞死了 @@
不知道是官方文件寫的很怪還是大爺自已的問題
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(120)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
  • 3月 29 週一 201015:19
  • 來口梨子吧… 初次接觸 php pear

真的是搞死了
怎麼這年頭要寫個網站需要一大堆的技術
光是前端 gimp + css + java script 就快搞死我了
還得再加個 jquery來玩玩 ^^"
(繼續閱讀...)
文章標籤

大爺 發表在 痞客邦 留言(0) 人氣(533)

  • 個人分類:來啃梨子吧 pear&pyrus
▲top
1

部落格文章搜尋

文章分類

  • 玩建模 UML (4)
  • 拉塞 (59)
  • 烏邦圖 (9)
  • 來搞點特效吧…JQuery (6)
  • 陰溝裡去...English (4)
  • 來啃梨子吧 pear&pyrus (10)
  • 搞死人的東西 @@ (17)
  • 遇見謬斯女神 (14)
  • 爆走爺的旅行日誌 (37)
  • 工商服務...報給你知 something different... (8)
  • 未分類文章 (1)

近期文章

  • Vaio SVS15116GWB 安裝windows7和ubuntu多重作業系統
  • 新鮮貨上市!
  • 用jQuery postMessage: Cross-domain scripting goodness 解決 iframe跨網域問題
  • VirtualBox4 最最簡單的方式擴充guest的硬碟空間
  • 抓住夏天的尾巴
  • Question2Answer 繁體中文語言套件(Q2A 1.4.x)
  • K3b Err Msg: mkisofs returned an unknown error 255
  • VirtualBox錯誤訊息 VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED)
  • 面對
  • (大問題) 再論表單驗證碼程式 Real Person Form Submission

熱門文章

  • (39,334)不負責任UML筆記- 使用案例圖 (use case diagram)
  • (19,540)跟老外介紹台灣
  • (2,760)用jQuery postMessage: Cross-domain scripting goodness 解決 iframe跨網域問題
  • (2,060)表單驗証碼程式 Real Person Form Submission
  • (425)pyrus筆記- 從pear改良的安裝程式 (Improvements from the PEAR Installer)
  • (27)Telling Pyrus how to load your plugin: <class> and <autoloadpath>

最新迴響

  • [18/05/09] 82國語言翻譯公司 於文章「Vaio SVS15116GWB 安裝w...」留言:
    並中西那果是為成要然一到隻時小夫在來不心問下大, 36...
  • [17/11/16] 路人 於文章「不負責任UML筆記- 使用案例圖 (us...」留言:
    更正我上面說的,腦中想的太快,手亂打一通。 include...
  • [17/11/16] 路人 於文章「不負責任UML筆記- 使用案例圖 (us...」留言:
    include , extend 和 stereotype ...
  • [14/08/18] 采翃 王 於文章「跟老外介紹台灣...」留言:
    我有問題~ 為什麼不是番薯? 臺灣的形狀像番薯 it ...
  • [14/07/15] 訪客 於文章「跟老外介紹台灣...」留言:
    6井井沒有沒想到伕伕伕伕伕伕伕伕伕伕伕伕付出...
  • [14/07/15] 訪客 於文章「跟老外介紹台灣...」發表了一則私密留言
  • [13/08/08] 您的暱稱 ... 於文章「「爆走爺的旅行日誌」-達爾文拔牙-後記...」留言:
    冒昧請問是在達爾文哪拔智齒?朋友急需抽神經,需要優良醫師...
  • [13/06/12] 訪客 於文章「VirtualBox錯誤訊息 VT-x ...」留言:
    謝謝!!找了很多解法試這個終於有用了...
  • [13/04/04] 47 於文章「Vaio SVS15116GWB 安裝w...」留言:
    我自己本身使用SE17 要幫朋友SVS13132 進bio...
  • [13/03/12] 大爺 於文章「不負責任UML筆記- 使用案例圖 (us...」留言:
    不客氣…很高興能幫到你…只怕會讓你越看越迷糊 …^^" ...

文章彙整

參觀人氣

  • 本日人氣:
  • 累積人氣:

誰來我家

部落軌道

個人資訊

大爺
暱稱:
大爺
分類:
視覺設計
好友:
累積中
地區: