$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
NISRA-My first project-WarGame Web
Search
Yun Chen
December 09, 2013
Programming
0
100
NISRA-My first project-WarGame Web
This is a web about WarGame System
Yun Chen
December 09, 2013
Tweet
Share
More Decks by Yun Chen
See All by Yun Chen
How we build microservices with Kubernetes & Kafka
chenyunchen
3
420
Redis Lua Script With Red Envelope & Message Queue
chenyunchen
0
630
Kubernetes Library with client-go
chenyunchen
0
490
[Graduate Project] Drupal Upgrade & Docker Deploy
chenyunchen
0
170
WECO Porject
chenyunchen
0
100
From Python Import Fun
chenyunchen
0
430
Docker
chenyunchen
2
220
NISRA fun with burp suite
chenyunchen
1
240
Vim
chenyunchen
0
210
Other Decks in Programming
See All in Programming
connect-python: convenient protobuf RPC for Python
anuraaga
0
350
Google Antigravity and Vibe Coding: Agentic Development Guide
mickey_kubo
2
130
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
140
FluorTracer / RayTracingCamp11
kugimasa
0
180
AI時代もSEOを頑張っている話
shirahama_x
0
230
Evolving NEWT’s TypeScript Backend for the AI-Driven Era
xpromx
0
260
20 years of Symfony, what's next?
fabpot
2
310
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
230
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
140
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
5
18k
AIコーディングエージェント(Manus)
kondai24
0
120
AWS CDKの推しポイントN選
akihisaikeda
1
240
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
KATA
mclloyd
PRO
32
15k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
RailsConf 2023
tenderlove
30
1.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Rails Girls Zürich Keynote
gr2m
95
14k
The Invisible Side of Design
smashingmag
302
51k
BBQ
matthewcrist
89
9.9k
Code Reviewing Like a Champion
maltzj
527
40k
Balancing Empowerment & Direction
lara
5
780
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Transcript
No It’s Python!! NO!! Yun Chen
希望是以輕鬆的⽅方式來發表(茶) ⼈人數-效果:每增加⼀一個⼤大⼤大 ⾃自信-1 混亂+10%
順便談談這期間還額外學了什麼
既然⼜又是要學程式語⾔言
想想看⼤大⼀一程語學了什麼
說不定會有所幫助…
美國史、⼤大樹⽯石頭下跟抓抓頭(?
None
原本只是單純想學Python
也不知道該⽣生出什麼東⻄西
“可以搞個網站”
然後就⼊入Python坑了
[COSCUP] 2013 Hands-on
⿎鼓起勇氣到COSCUP-Py社群聊聊
第⼀一次參加Taipei.py的聚會
開始有種越級打怪的感覺
剛開始學時才發現…
只學Python根本架不起來啊(⼤大哭)
我連HTML是什麼 碗糕都不懂囧
所以只好都從Hello World開始QQ
在我眼中卻是Hell World的開始
編輯環境
Windows 7 - Notepad++ Ubuntu - Vim
被空⽩白鍵和Tab鍵搞到死QQ
學習&使⽤用到的技術
HTML & CSS 架綱站基礎中的基礎
None
Bootstrap 免於苦刻CSS的⾟辛勞
Python 2.7.5 簡單、簡潔、好上⼿手
之前寫程式就像蠢蛋⼀一樣…
Tornado 3.1 新⼿手玩後端就上⼿手
樣版處理 類似網⾴頁越簡單越好
網址處理 針對路徑做處理也⽅方便做管理
⾃自動轉義 防⽌止SQL Injection
Cookies 產⽣生⼀一組base64的字串加密
我很多都不會,不安全怎麼辦
原始碼加⼊入AllenOwn就對了!!(逃)
Photoimpact 雖然做出來還是很…就是了
資料庫?那什麼?可以吃嗎?
直接txt檔存取硬幹就好啦~
還好我沒這麼做…不然肯定吐⾎血
Peewee 輕量級的ORM
以Sqlalchemy為內核 經包裝過後使⽤用更為簡單
每當我熱情的增加⼀一個新功能
可是網⾴頁⽼老是吐給我…
404: Not Found
500: Internal Server Error
……………(默默 Debug)….…..…..
Live Demo ? 可是不Demo就沒戲唱了… Never? 完全沒有畫⾯面 完全沒有畫⾯面 完全沒有畫⾯面 不要啊!!!!!! hy31.net:8080
我已經盡量從”普通”使⽤用者 ”普通”使⽤用上做檢查
所以…拜託不要弄壞它QQ
要拍打的話可以輕⼀一點嗎QQ
就算網站功能很簡陋(汗)
程式碼也苦刻的很糟糕QQ
“Programmer沒⽤用它 就像當年正妹沒⽤用無名⼀一樣”
GitHub ⻯⿓龍哥:阿宅們的社群網站
然後就藉由Git上傳了…
希望能藉此把網站改的更好☺
感謝曾為我指點迷津的⼤大⼤大<(_ _)>
Thank You