国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專(zhuān)欄INFORMATION COLUMN

何成為 QueryPHP 開(kāi)發(fā)者

bigdevil_s / 643人閱讀

摘要:文檔開(kāi)發(fā)基于單元測(cè)試實(shí)現(xiàn)的自動(dòng)化文檔當(dāng)前文檔開(kāi)發(fā)計(jì)劃功能開(kāi)發(fā)當(dāng)前計(jì)劃功能技術(shù)債務(wù)清償當(dāng)前技術(shù)債務(wù)單元測(cè)試盡可能減少當(dāng)前單元測(cè)試成為開(kāi)發(fā)者需要加入我們的組織,如有相關(guān)意愿請(qǐng)發(fā)送郵件至小牛哥,我們會(huì)聯(lián)系你的。

QueryPHP 非常歡迎各位給我們共同的偉大的作品添磚加瓦,實(shí)現(xiàn)為 PHP 社區(qū)提供一個(gè)好框架的美好愿景。

文檔開(kāi)發(fā).基于單元測(cè)試實(shí)現(xiàn)的自動(dòng)化文檔 當(dāng)前文檔開(kāi)發(fā)

計(jì)劃功能.開(kāi)發(fā) 當(dāng)前計(jì)劃功能

技術(shù)債務(wù).清償 當(dāng)前技術(shù)債務(wù)

單元測(cè)試.盡可能減少 Bug 當(dāng)前單元測(cè)試

成為開(kāi)發(fā)者需要加入我們的組織,如有相關(guān)意愿請(qǐng)發(fā)送郵件至 小牛哥 <635750556@qq.com>,我們會(huì)聯(lián)系你的。

成為開(kāi)發(fā)者并沒(méi)有什么任務(wù)負(fù)擔(dān),一切主要以你的意愿,興趣才是最重要的。

本篇指南將帶你搭建的 QueryPHP 開(kāi)發(fā)框架的開(kāi)發(fā)環(huán)境,使得你可以參與 QueryPHP 底層代碼、單元測(cè)試和文檔等開(kāi)發(fā)工作。

這里以筆者的 Mac 為例子說(shuō)明,其實(shí) Windows 下面還更簡(jiǎn)單些。

克隆 queryphp 倉(cāng)庫(kù)

QueryPHP 框架的開(kāi)發(fā)來(lái)自于從克隆主倉(cāng)庫(kù)開(kāi)始,由于國(guó)內(nèi)訪問(wèn) Github 網(wǎng)速的問(wèn)題,只需要等待一小段時(shí)間。

下載代碼

$cd /data/codes/test
$git clone git@github.com:hunzhiwange/queryphp.git

Composer 安裝

composer install
如果你電腦沒(méi)有安裝 composer,那么已經(jīng)為你下載一個(gè)版本。
sudo chmod 777 ./build/composer
./build/composer install

安裝過(guò)程

Cloning into "queryphp"...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 17821 (delta 19), reused 36 (delta 14), pack-reused 17767
Receiving objects: 100% (17821/17821), 45.12 MiB | 693.00 KiB/s, done.
Resolving deltas: 100% (8700/8700), done.

測(cè)試是否安裝成功

如果可以訪問(wèn),那么恭喜你第一階段即安裝完畢。

標(biāo)準(zhǔn)后臺(tái) API 端

首先我們需要?jiǎng)?chuàng)建一個(gè)數(shù)據(jù)庫(kù)來(lái)運(yùn)行我們的后臺(tái),讓我們對(duì) QueryPHP 有一個(gè)直觀的感受,同時(shí)方便后期開(kāi)發(fā)調(diào)試等。

首先創(chuàng)建一個(gè)數(shù)據(jù)庫(kù)

可以用 Navicat For Mysql 創(chuàng)建一個(gè)數(shù)據(jù)庫(kù) queryphp_development_db.

CREATE DATABASE IF NOT EXISTS queryphp_development_db DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

修改 .env

...
// Database
DATABASE_DRIVER = mysql
DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306
DATABASE_NAME = queryphp_development_db
DATABASE_USER = root
DATABASE_PASSWORD =
...


修改為


...
// Database
DATABASE_DRIVER = mysql
DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306
DATABASE_NAME = queryphp_development_db
DATABASE_USER = root
DATABASE_PASSWORD = 123456
...

執(zhí)行數(shù)據(jù)庫(kù)遷移命令

php leevel migrate:migrate

安裝過(guò)程

using config file ./phinx.php
using config parser php
using migration paths
- /data/codes/test/queryphp/database/migrations
using seed paths
- /data/codes/test/queryphp/database/seeds
warning no environment specified, defaulting to: development
using adapter mysql
using database queryphp_development_db


== 20181109060739 App: migrating
== 20181109060739 App: migrated 0.0155s


== 20181112023649 Role: migrating
== 20181112023649 Role: migrated 0.0160s


== 20181112024140 User: migrating
== 20181112024140 User: migrated 0.0166s


== 20181112024211 Permission: migrating
== 20181112024211 Permission: migrated 0.0225s


== 20181112024241 UserRole: migrating
== 20181112024241 UserRole: migrated 0.0155s


== 20181112024302 RolePermission: migrating
== 20181112024302 RolePermission: migrated 0.0206s


== 20181112024416 Resource: migrating
== 20181112024416 Resource: migrated 0.0328s


== 20181112024450 PermissionResource: migrating
== 20181112024450 PermissionResource: migrated 0.0305s


== 20181203130724 Option: migrating
== 20181203130724 Option: migrated 0.0170s


== 20181203144731 Test: migrating
== 20181203144731 Test: migrated 0.0133s


All Done. Took 0.2273s

測(cè)試數(shù)據(jù)庫(kù)是否正常

php leevel server 

結(jié)果

{
    count: 4,
    :trace: {
        ...
    }
}
標(biāo)準(zhǔn)后臺(tái)前端端

后臺(tái) API 搭建好了,我們開(kāi)始搭建前端了,前端基于 Vue-cli 3IView,首先需要安裝 node 才能夠跑起來(lái)。

對(duì)于開(kāi)發(fā) QueryPHP 來(lái)說(shuō),你不需要會(huì) Vue 或者 JavaScript,所以請(qǐng)放心不要有心里負(fù)擔(dān)。

安裝前端

第一步安裝前端,細(xì)節(jié)信息可以在 frontend/README.md 查看.

cd frontend
npm install -g cnpm --registry=https://registry.npm.taobao.org // Just once
cnpm install

安裝過(guò)程

? All packages installed (1264 packages installed from npm registry, used 14s(network 13s), speed 221.08kB/s, json 1086(2.23MB), tarball 501.92kB)

運(yùn)行前端

接著訪問(wèn)這個(gè)登陸地址.

npm run serve # npm run dev 

輸入登陸用戶(hù)名和密碼,這個(gè)時(shí)候 QueryPHP 不再是一個(gè)冰冷的代碼,而是有一個(gè)干凈的帶有基礎(chǔ)權(quán)限系統(tǒng)的后臺(tái)。

user: admin
password: 123456
運(yùn)行測(cè)試用例

QueryPHP 推崇通過(guò)編寫(xiě)測(cè)試用例來(lái)讓代碼變得可維護(hù),所以這里需要本地開(kāi)發(fā)跑通測(cè)試用例。

首先創(chuàng)建一個(gè)數(shù)據(jù)庫(kù)

可以用 Navicat For Mysql 創(chuàng)建一個(gè)數(shù)據(jù)庫(kù) queryphp_development_test.

CREATE DATABASE IF NOT EXISTS queryphp_development_test DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

修改 .env

...
// Database
DATABASE_DRIVER = mysql
DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306
DATABASE_NAME = test
DATABASE_USER = root
DATABASE_PASSWORD =
...


修改為


...
// Database
DATABASE_DRIVER = mysql
DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306
DATABASE_NAME = queryphp_development_test
DATABASE_USER = root
DATABASE_PASSWORD = 123456
...

執(zhí)行數(shù)據(jù)庫(kù)遷移命令

php leevel migrate:migrate -e testing

安裝過(guò)程

using config file ./phinx.php
using config parser php
using migration paths
- /data/codes/test/queryphp/database/migrations
using seed paths
- /data/codes/test/queryphp/database/seeds
using environment testing
using adapter mysql
using database queryphp_development_test


== 20181109060739 App: migrating
== 20181109060739 App: migrated 0.0155s


== 20181112023649 Role: migrating
== 20181112023649 Role: migrated 0.0160s


== 20181112024140 User: migrating
== 20181112024140 User: migrated 0.0166s


== 20181112024211 Permission: migrating
== 20181112024211 Permission: migrated 0.0225s


== 20181112024241 UserRole: migrating
== 20181112024241 UserRole: migrated 0.0155s


== 20181112024302 RolePermission: migrating
== 20181112024302 RolePermission: migrated 0.0206s


== 20181112024416 Resource: migrating
== 20181112024416 Resource: migrated 0.0328s


== 20181112024450 PermissionResource: migrating
== 20181112024450 PermissionResource: migrated 0.0305s


== 20181203130724 Option: migrating
== 20181203130724 Option: migrated 0.0170s


== 20181203144731 Test: migrating
== 20181203144731 Test: migrated 0.0133s


All Done. Took 0.2273s

運(yùn)行測(cè)試用例

php ./build/phpunit

結(jié)果

注意隨著系統(tǒng)演進(jìn),測(cè)試用例會(huì)增加,輸出結(jié)果就有所不同。
PHPUnit Pretty Result Printer 0.26.2 by Codedungeon and contributors.
PHPUnit 8.1.3 by Sebastian Bergmann and contributors.


==> TestsAdminServiceResourceIndexTest       ?  ?
==> TestsExampleExampleTest                    ?
==> TestsExamplePHPUnitTest                    ?
==> CommonDomainServiceSearchIndexTest       ?  ?  ?  ?  ?  ?
==> CommonInfraHelperArrayToFormTest          ?  ?  ?  ?  ?  ?
==> CommonInfraSupportWorkflowServiceTest     ?  ?  ?  ?  ?
==> CommonInfraSupportWorkflowTest            ?  ?  ?  ?  ?

Time: 391 ms, Memory: 18.00 MB

OK (26 tests, 43 assertions)
統(tǒng)一團(tuán)隊(duì)代碼風(fēng)格

風(fēng)格統(tǒng)一對(duì)保證我們系統(tǒng)一致性非常重要,我們做到開(kāi)箱即用,支持 PHPJavaScript

使用 Git 鉤子

cp ./build/pre-commit.sh ./.git/hooks/pre-commit
chmod 777 ./.git/hooks/pre-commit

測(cè)試自動(dòng)化格式

common/Test.php


frontend/src/hello.js

function hello(a,b) {
    var c
        if(a>b) {
            c=a
        } else {
            c=b
        }
    console.log(c)
}

Git 提交測(cè)試格式化

git add .
git commit -m "測(cè)試格式化"

運(yùn)行過(guò)程

Checking PHP Lint...
No syntax errors detected in common/Test.php
Running Code Sniffer...
Loaded config default from ".php_cs.dist".
Paths from configuration file have been overridden by paths provided as command arguments.
1) common/Test.php Fixed all files in 0.009 seconds, 12.000 MB memory used
The file has been automatically formatted.
[13:04:00] Working directory changed to /data/codes/test/queryphp/frontend
[13:04:00] Using gulpfile /data/codes/test/queryphp/frontend/gulpfile.js
[13:04:00] Starting "iview"...
[13:04:00] Finished "iview" after 413 μs
frontend/src/hello.js 53ms
[master 681d7e29] 測(cè)試格式化
3 files changed, 32 insertions(+)
mode change 100644 => 100755 build/composer
create mode 100644 common/Test.php
create mode 100644 frontend/src/hello.js
格式化后的 PHP

代碼干凈漂亮了不少,不是嗎。


格式化后的 JavaScript

代碼干凈漂亮了不少,不是嗎。

function hello(a, b) {
    var c
    if (a > b) {
        c = a
    } else {
        c = b
    }
    console.log(c)
}
回滾測(cè)試提交

這些測(cè)試代碼不需要提交到 Git 庫(kù),你可以回滾掉剛才測(cè)試的這些代碼。

git log
git reset --hard 931f283b0b8847e4a3f2ad86efb3c07cd7974c3b // 或者 git revert xxx
HEAD is now at 931f283b Merge branch "dev"
克隆 framework 倉(cāng)庫(kù)將框架替換為開(kāi)發(fā)版本

應(yīng)用層框架全部搭建完畢,接下來(lái)我們將框架層代碼替換為開(kāi)發(fā)階段的代碼來(lái)進(jìn)行日??蚣艿?。

刪除框架層

rm -rf ./vendor/hunzhiwange/framework

克隆框架層開(kāi)發(fā)庫(kù)

$cd /data/codes/test
$git clone git@github.com:hunzhiwange/framework.git ./vendor/hunzhiwange/framework
cd ./vendor/hunzhiwange/framework

Composer 安裝

composer install
如果你電腦沒(méi)有安裝 composer,那么已經(jīng)為你下載一個(gè)版本。
sudo chmod 777 ./build/composer
./build/composer install

安裝過(guò)程

Cloning into "./vendor/hunzhiwange/framework"...
remote: Enumerating objects: 382, done.
remote: Counting objects: 100% (382/382), done.
remote: Compressing objects: 100% (218/218), done.
remote: Total 39304 (delta 196), reused 262 (delta 125), pack-reused 38922
Receiving objects: 100% (39304/39304), 14.49 MiB | 12.00 KiB/s, done.
Resolving deltas: 100% (27594/27594), done.

測(cè)試是否安裝成功

從新訪問(wèn)首頁(yè),如果可以訪問(wèn),那么恭喜你第一階段即安裝完畢。

php leevel server 
運(yùn)行框架核心測(cè)試用例

QueryPHP 底層框架擁有 3000 多例測(cè)試用例,這些測(cè)試用例需要被維護(hù),所以這里需要本地開(kāi)發(fā)跑通測(cè)試用例。首先創(chuàng)建一個(gè)數(shù)據(jù)庫(kù)

可以用 Navicat For Mysql 創(chuàng)建一個(gè)數(shù)據(jù)庫(kù) test.

CREATE DATABASE IF NOT EXISTS test DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

復(fù)制一份配置文件并修改

cp ./tests/config.php ./tests/config.local.php

修改為

 "127.0.0.1",
    "PORT"     => 3306,
    "NAME"     => "test",
    "USER"     => "root",
    "PASSWORD" => "123456",
];


$GLOBALS["LEEVEL_ENV"]["CACHE"]["REDIS"] = [
    "HOST"     => "127.0.0.1",
    "PORT"     => 6380,
    "PASSWORD" => "123456",
];


$GLOBALS["LEEVEL_ENV"]["SESSION"]["REDIS"] = [
    "HOST"     => "127.0.0.1",
    "PORT"     => 6380,
    "PASSWORD" => "123456",
];

執(zhí)行數(shù)據(jù)庫(kù)遷移命令

php vendor/bin/phinx migrate

安裝過(guò)程

Phinx by CakePHP - https://phinx.org. 0.9.2


using config file ./phinx.php
using config parser php
using migration paths
 - /data/codes/test/queryphp/vendor/hunzhiwange/framework/tests/assert/database/migrations
using seed paths
 - /data/codes/test/queryphp/vendor/hunzhiwange/framework/tests/assert/database/seeds
warning no environment specified, defaulting to: development
using adapter mysql
using database test


 == 20181010111946 User: migrating
 == 20181010111946 User: migrated 0.0076s


 == 20181011111926 Post: migrating
 == 20181011111926 Post: migrated 0.0101s


 == 20181011111937 Comment: migrating
 == 20181011111937 Comment: migrated 0.0106s


 == 20181011151247 PostContent: migrating
 == 20181011151247 PostContent: migrated 0.0087s


 == 20181011160957 Role: migrating
 == 20181011160957 Role: migrated 0.0078s


 == 20181011161035 UserRole: migrating
 == 20181011161035 UserRole: migrated 0.0100s


 == 20181031094608 CompositeId: migrating
 == 20181031094608 CompositeId: migrated 0.0094s


 == 20181107044153 GuestBook: migrating
 == 20181107044153 GuestBook: migrated 0.0086s


 == 20190424055915 TestUnique: migrating
 == 20190424055915 TestUnique: migrated 0.0133s


All Done. Took 0.1179s

運(yùn)行測(cè)試用例

php ./build/phpunit

結(jié)果

注意隨著系統(tǒng)演進(jìn),測(cè)試用例會(huì)增加,輸出結(jié)果就有所不同。
PHPUnit 8.1.3 by Sebastian Bergmann and contributors.


==> TestsAuthHashTest                          ?  ?
==> TestsAuthManagerTest                       ?  ?  ?
==> TestsAuthMiddlewareAuthTest               ?  ?
==> TestsAuthProviderRegisterTest             ?
==> TestsAuthSessionTest                       ?  ?

...

==> TestsViewCompilerCompilerWhileTest        ?  ?
==> TestsViewHtmlTest                          ?  ?  ?  ?  ?  ?  ?  ?  ?
==> TestsViewManagerTest                       ?
==> TestsViewPhpuiTest                         ?  ?  ?  ?  ?  ?  ?  ?
==> TestsViewProviderRegisterTest             ?

Time: 19.51 seconds, Memory: 93.19 MB

Tests: 2978, Assertions: 10031, Failures: 0, Skipped: 6.
統(tǒng)一框架核心團(tuán)隊(duì)代碼風(fēng)格

風(fēng)格統(tǒng)一對(duì)保證我們系統(tǒng)一致性非常重要,我們做到開(kāi)箱即用,核心庫(kù)只包含 PHP 文件。

使用 Git 鉤子

cp ./build/pre-commit.sh ./.git/hooks/pre-commit
chmod 777 ./.git/hooks/pre-commit

測(cè)試自動(dòng)化格式

tests/Name.php


Git 提交測(cè)試格式化

git add .
git commit -m "測(cè)試格式化"

運(yùn)行過(guò)程

Checking PHP Lint...
No syntax errors detected in tests/Name.php
Running Code Sniffer...
Loaded config default from ".php_cs.dist".
Paths from configuration file have been overridden by paths provided as command arguments.
1) tests/Name.php Fixed all files in 0.009 seconds, 12.000 MB memory used
The file has been automatically formatted.
[master 20f2f845] 測(cè)試格式化
2 files changed, 29 insertions(+)
mode change 100644 => 100755 build/composer
create mode 100644 tests/Name.php
格式化后的 PHP

代碼干凈漂亮了不少,不是嗎。

測(cè)試代碼回滾請(qǐng)見(jiàn)上面的方法,謝謝。


* (c) 2010-2019 http://queryphp.com All rights reserved.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Test;

class Name
{
    public function demo($a = 1, $b = 4)
    {
        echo 1;
    }
}
克隆 queryphp.com 倉(cāng)庫(kù)實(shí)現(xiàn)自動(dòng)化文檔搭建

QueryPHP 底層的文檔基于單元測(cè)試加備注的方式來(lái)實(shí)現(xiàn)的,通過(guò)命名工具全部采用自動(dòng)化生成 Markdown,這大幅度簡(jiǎn)化了文檔的編寫(xiě)工作,同時(shí)保證了文檔實(shí)時(shí)性。

官方文檔采用 VuePress 讀取 Markdown 來(lái)實(shí)現(xiàn)的

$cd /data/codes/test
$git clone git@github.com:hunzhiwange/queryphp.com.git

修改文檔工具生成 Markdown 的路徑

$cd /data/codes/test/queryphp
$vim .env


# 修改路徑
FRAMEWORK_DOC_OUTPUTDIR = "/data/codes/test/queryphp.com/docs/docs/"

生成文檔

$cd /data/codes/test/queryphp
$php leevel make:docwithin tests

運(yùn)行過(guò)程

Class TestsEncryptionEncryptionTest was generate succeed.
Class TestsEncryptionSafeTest was generate succeed.
Class TestsDatabaseManagerTest was generate succeed.
Class TestsDatabaseDddUnitOfWorkTest was generate succeed.
Class TestsDatabaseDddCreateCreateTest was generate succeed.
Class TestsDatabaseQueryAggregateTest was generate succeed.
Class TestsValidateAssertTest was generate succeed.
Class TestsDiContainerTest was generate succeed.
Class TestsDocsBecomeAQueryphpDeveloperDoc was generate succeed.
Class TestsSupportFnTest was generate succeed.
Class TestsSupportStrTest was generate succeed.
Class TestsSupportArrTest was generate succeed.
Class TestsViewSummaryDoc was generate succeed.
Class TestsViewCompilerCompilerAssignTest was generate succeed.
Class TestsViewCompilerCompilerPhpTest was generate succeed.
Class TestsViewCompilerCompilerBreakTest was generate succeed.
Class TestsViewCompilerCompilerIncludeTest was generate succeed.
Class TestsViewCompilerCompilerTagselfTest was generate succeed.
Class TestsViewCompilerCompilerWhileTest was generate succeed.
Class TestsViewCompilerCompilerCssTest was generate succeed.
Class TestsViewCompilerCompilerForTest was generate succeed.
Class TestsViewCompilerCompilerVarTest was generate succeed.
Class TestsViewCompilerCompilerListTest was generate succeed.
Class TestsDebugDebugTest was generate succeed.
A total of 24 files generate succeed.

修改文檔菜單

$vim docs/.vuepress/config.js

運(yùn)行本地文檔網(wǎng)站

訪問(wèn)地址 localhost:8088 即可。

$npm install -g yarn
$yarn add -D vuepress # or npm install -D vuepress
$yarn run dev # or npx vuepress dev docs
結(jié)尾

到這里為止,我們本地開(kāi)發(fā)環(huán)境已經(jīng)全部搭建完畢,可以愉快地開(kāi)發(fā)了。

::: tip
值得注意的是,我們通常在 dev 分支開(kāi)發(fā),開(kāi)發(fā)完畢后 mergemaster 分支完成開(kāi)發(fā)。
:::

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://specialneedsforspecialkids.com/yun/31630.html

相關(guān)文章

  • QueryPHP V1-beta.3 完成 1.0.0 計(jì)劃功能凍結(jié)

    摘要:版本完成正式版前的除之外計(jì)劃功能,啟動(dòng)凍結(jié)。百分之百單元測(cè)試覆蓋直面一劍封喉,基于實(shí)現(xiàn)框架常駐,依托生態(tài)實(shí)現(xiàn)業(yè)務(wù)常駐,此刻未來(lái)逐步漸進(jìn)。 QueryPHP v1.0.0-beta. 版本完成 1.0 正式版前的除 Swoole 之外計(jì)劃功能,啟動(dòng)凍結(jié)。下一版本專(zhuān)注 Swoole 協(xié)程改進(jìn)。 關(guān)于 QueryPHP QueryPHP 是一款現(xiàn)代化的漸進(jìn)式高性能 PHP 7 不僅僅是常駐框...

    ghnor 評(píng)論0 收藏0
  • QueryPHP V1-beta.1 部分文檔代碼解耦,版本PHP 7.3.2

    摘要:百分之百單元測(cè)試覆蓋直面一劍封喉,基于實(shí)現(xiàn)框架常駐,依托生態(tài)實(shí)現(xiàn)業(yè)務(wù)常駐,此刻未來(lái)逐步漸進(jìn)。國(guó)際化例子函數(shù)隨機(jī)數(shù)字優(yōu)化最開(kāi)始采用的的繼承一個(gè)基礎(chǔ)的,方便單元測(cè)試有一定性能損失。 經(jīng)過(guò) 1 個(gè)月的開(kāi)發(fā),QueryPHP v1.0.0-beta.1 版本可以發(fā)布了,這也是 beta 3 個(gè)版本的開(kāi)始部分。這個(gè)版本的主要是代碼解耦和性能提升,文檔開(kāi)發(fā)。 關(guān)于 QueryPHP QueryPH...

    lentrue 評(píng)論0 收藏0
  • 未來(lái)十年的云計(jì)算發(fā)展有什么期望?

    摘要:但有一件事將保持在所有名單的首位云計(jì)算。過(guò)去幾年,云計(jì)算提供商一直在努力擴(kuò)大其地理覆蓋范圍。這最終會(huì)代表人們承諾的無(wú)縫混合世界嗎可以推測(cè),今年云計(jì)算將發(fā)生很多變化,但關(guān)鍵原則和功能不會(huì)。這是新十年的開(kāi)始,有新的預(yù)算和新的商業(yè)戰(zhàn)略。但有一件事將保持在所有CIO名單的首位:云計(jì)算。 去年,Gartner衡量了企業(yè)架構(gòu)的成功,并規(guī)劃了其2020年的統(tǒng)治地位。它預(yù)測(cè),今年市場(chǎng)將再增長(zhǎng)17%,達(dá)...

    tuantuan 評(píng)論0 收藏0
  • 卷積神經(jīng)網(wǎng)絡(luò)架構(gòu)詳解:它與神經(jīng)網(wǎng)絡(luò)有不同?

    摘要:較大池化一個(gè)卷積神經(jīng)網(wǎng)絡(luò)的典型架構(gòu)卷積神經(jīng)網(wǎng)絡(luò)的典型架構(gòu)我們已經(jīng)討論過(guò)卷積層用表示和池化層用表示只是一個(gè)被應(yīng)用的非線性特征,類(lèi)似于神經(jīng)網(wǎng)絡(luò)。 這是作者在 Medium 上介紹神經(jīng)網(wǎng)絡(luò)系列文章中的一篇,他在這里詳細(xì)介紹了卷積神經(jīng)網(wǎng)絡(luò)。卷積神經(jīng)網(wǎng)絡(luò)在圖像識(shí)別、視頻識(shí)別、推薦系統(tǒng)以及自然語(yǔ)言處理中都有很廣的應(yīng)用。如果想瀏覽該系列文章,可點(diǎn)擊閱讀原文查看原文網(wǎng)址。跟神經(jīng)網(wǎng)絡(luò)一樣,卷積神經(jīng)網(wǎng)絡(luò)由神經(jīng)元...

    HackerShell 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

閱讀需要支付1元查看
<