如果30歲還能回到青春期,我們會去蘭嶼 [譯]為什麼我們找不到前端工程師?
Sep 03

Randy哥塗鴉牆分享的: A FRONT END ENGINEER’S MANIFESTO(前端工程師宣言)
說是準則也好,宣言也罷,行內人可以時時拿來檢視(提醒)自己,行外人也能了解F2E 專業與特性的好文。
I AM A FRONT END ENGINEER

Most importantly and above all,I will put the needs of the USER FIRST over my own needs as a developer.
最最最重要的是,我會把『使用者至上』的需求放在我這個工程師的需求之前。

PROGRESSIVE ENHANCEMENT and UNOBTRUSIVE JAVASCRIPT are my tools. Without JavaScript or CSS, or without mobile Webkit, my site may not look pretty but will still be functional.
不斷進化且乾淨清爽的JavaScript就是我的利器。沒有JavaScript, CSS或是行動版的Webkit,我的網站就算能動但也只是醜而已。

SIMPLICITY IS RESPECT
I will not unnecessarily tax my users’ brains with complicated designs and user interfaces. I will strive to make interactions succinct and minimize mental overhead.
簡單才是重點 – 我不會讓使用者花太多腦袋去了解複雜的設計跟使用者介面。我會努力的讓互動這件事變得簡潔又不傷神。

I will educate my friends and family that WEB BROWSER CHOICE MATTERS
Web Browsers should at minimum properly implement web standards and should be responsive to the advancing web. Web Browser Choice should be separate from picking an operating system. This is especially important for mobile devices.
我會教我的親朋好友:選對瀏覽器很重要。
瀏覽器至少應該要遵照標準來實作,並且跟著網路與時俱進。選擇瀏覽器跟選擇作業系統是分開的(大概是說你有更多選擇,不必被作業系統綁住吧),這點在行動裝置上尤其重要。

I believe in the power of the OPEN WEB
My content was accessible when full Flash / Flex apps were popular, and I will continue to provide accessible device independent content in the face of App Store ubiquity.
我相信開放網路的力量
在滿是Flash / Flex網站跟應用程式的時代,我的網站內容都能容易地被取得。就算面對現在充斥的App商店,我仍會繼續給你這些內容,無論你用哪一種裝置。

I acknowledge that PERFORMANCE IS CRITICAL. My own developer hardware is not representative of the real world, and will be mindful of limited hardware, poor latency, and low bandwidth situations.
我了解效能是關鍵,我的開發機不能代表這個世界上所有使用者的機器,我會留意那些硬體太爛,累格很大跟種花的狀況。

I will learn at the root, not the abstraction: JAVASCRIPT BEFORE JQUERY or YUI, Prototype, Mootools, et al.
我會從根紮起,而不是先學皮毛。
先學JAVASCRIPT,再去學JQuery 或是 YUI, Prototype, Mootools這些東西。

I believe that OPEN SOURCE CODE and ROYALTY FREE TOOLS represent the best future for the Web. Especially when considering file formats and codecs for images, audio, or video.
我相信開放原始碼跟有授權的免費工具代表著網路的美好未來,尤其當你考量到檔案格式,圖片及影音編碼等技術。

I will not underestimate the importance of ACCESSIBILITY
It is not just about helping users that may have trouble differentiating colors or difficulty reading small fonts, but is about providing comprehensive access for users that may prefer to use either the keyboard or the mouse; in providing a clean print friendly format; in providing content to a devices of varying technological capabilities.
我不會小看Accessibility (網站親和力)的重要
這不只是幫助那些有辨色困難或是看不清小字的人,也提供使用滑鼠或鍵盤使用者都能方便的取得內容。為你的內容提供一個便於列印的格式,也把他們提供給各種技術規格的裝置。

I will GIVE BACK to the COMMUNITY
I will contribute workarounds, fixes, and document issues that may help others. I will file bugs at the source with the web browser’s bug tracker.
我會回饋社群
我會貢獻我的技巧,解決問題的方法,並且把一些遇過的問題寫成文件來幫助別人,我會用bug追蹤系統把bug記下來。

I will continue to foster both HEMISPHERES OF MY BRAIN. I will better myself not just in math and code, but also in art, music, design, and usability.
我會保持左腦右腦都能成長壯壯,除了加強數理跟寫程式能力,也要涉獵藝術,音樂,設計跟使用性。

I will do my best to keep my KNOWLEDGE CURRENT. I understand that I cannot learn everything and will be mindful of what I do not know.
我會盡全力的讓所學跟上時代。我知道我沒辦法學會一切,但我會留心那些我還不懂的知識。

I accept RESPONSIBILITY FOR VIEW SOURCE
I will take care to use approaches that will be compatible with current and future web browsers, including preference for feature detection over user agent sniffing when it does not violate rules #1 or #5.
檢視原始碼的責任,我來扛。
在不違反規則1到5的情況下,我會小心地使用一些方法來相容現在或未來的瀏覽器,像是一些檢查user agent來判斷功能是否可用。

My CODE will be PORTABLE
I will be mindful of overzealous CSS specificity, overuse of CSS!important, the global JavaScript namespace, as well as numerous browser implementation quirks.
我寫的程式碼到處都能跑
我會留意過度熱衷CSS specificity這件事,避免過度使用CSS !important,全域的JavaScript 命名空間,以及一大堆為了兼容瀏覽器的怪招。

I will choose the RIGHT TOOL FOR THE JOB.
Whether it be a big choice between a full stack framework and a simple DOM-centric library, or even the simple choice between CSS and JavaScript to solve a task, I will educate myself on the mistakes of those before me to make the correct choice for my project.
工欲善其事,必先利其器
你是否常為了選擇功能完整的框架還是輕巧的DOM函式庫,某個問題要用CSS還是JavaScript解決而左右為難?把之前犯的錯誤都當作繳學費,我會為了案子而做出正確的選擇。

I will strive to create SECURE APPLICATIONS.
I will properly escape my output and code to prevent XSS and CSRF. I will not store sensitive information in Cookies, and will use HTTPS where appropriate. I will be responsive in correcting issues that may cause harm to applications I have created.
我會致力於打造安全的應用程式
我會正確的將輸出結果轉碼,以避免XSS跟CSRF攻擊。我不會把敏感的資訊存到Cookie裡,而且會適時的使用https。我願意及時的回應並吃下修正這些我自己製造的大便。XDD

I AM A FRONT END ENGINEER.
我就是一個前端工程師


延伸閱讀

lock 發表於 2012 September 3, at pm 6:40
標籤:
人氣: 3,995


留下迴響