1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        AlconPHP項目開發(fā)庫

        聯(lián)合創(chuàng)作 · 2023-09-28 12:17

        Alcon

        【簡介】 Alcon 是一個PHP項目開發(fā)庫 (尤其適合Phalcon框架)。

         

        【用途】 一個應(yīng)用開發(fā)中可以使用的公用結(jié)構(gòu),目的是拆分出來便于隨時組裝。

         

        【演示】

        composer require farwish/alcon:dev-master

        提供狀態(tài)碼:

        $status = \Alcon\Supports\Codes::ACTION_SUC;  
        $msg = \Alcon\Supports\Codes::get($status);

        提供函數(shù):

        \Alcon\Supports\Helper::format_date('1234567')

        提供Trait:

        use \Alcon\Traits\ControllerTrait;
        use \Alcon\Traits\ModelTrait;

        提供服務(wù)層 : 

        // 只要繼承自 \Alcon\Services\ServiceBase;

        提供設(shè)計模式 :

        $ev = new \Alcon\Design\EventBase();    
        $ob = new MyObserver;    
        $ev->attach($ob);    
        $ev->notify();

        提供任務(wù)腳本 :

        php vendor/farwish/alcon/src/Scripts/produce_all_models.php

         

        【目錄結(jié)構(gòu)】

        ```
        Design  
            |_ DecoratorBase.php  
            |_ EventBase.php  
        
        Scripts   
            |_ model_header.php   
            |_ produce_all_models.php  
        
        Services(Yar)  
            |_ ServiceBase.php  
        
        Supports  
            |_ Codes.php  
            |_ Helper.php  
            |_ STBase.php  
        
        Traits  
            |_ ControllerTrait.php   
            |_ ModelTrait.php  
            |_ ModelAdvanceTrait.php 
        ```

         

        【應(yīng)用案例】

        alconSeek

         

        【維護(hù)與使用】

        Join Qq Group: 377154148

        If you do use this package, please let me know.  

         

        【A&Q】

        How to install phalcon? you can reference:

        1. https://docs.phalconphp.com/en/latest/reference/install.html

        2. https://github.com/farwish/delicateShell/tree/master/lnmp

        瀏覽 27
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            а天堂中文在线官网在线 | 簧片免费看 | 黄色国产视频在线观看 | 国精产品一区二区三区mba | 性片的生活 | 乱肉合集乱500小说怀孕 | 国产寡妇婬乱A毛片视频 | 日韩成人无码电影一区二区三区 | 欧美肏逼网站 | 曰韩三级电影 |