Debunking Java Myths of PHP developers駁斥Java的神話PHP開發
After my last post on the之後,我在去年的後對 differences between Java and PHP development practices之間的分歧Java和PHP開發的做法 , I saw some strange notions surface in PHP developers regarding Java. ,我看到了一些奇怪的概念,表面上在PHP開發有關的Java 。 This post is an attempt to dispel some myths about Java by PHP (and other non-Java) developers.這個職位是企圖消除一些神話的Java由PHP (和其他非Java )發展。 Feel free to chime in.隨時附和英寸
Myth 1: Strong Multi-threading support makes Java complicated and lack of it (actually very primitive support using ticks) makes PHP simpler. 神話1 :強大的多線程支持,使Java的複雜性和缺乏資訊科技(其實是很原始的支持使用蜱) ,使PHP的簡單。
In Java nobody forces you to use multi-threading.在Java中沒有人勢力您使用多線程。 In JSP, which is a true cousin of PHP, much of the code is written without multi-threading.在JSP中,這是一個真實的堂弟, PHP中,大部分的代碼是書面沒有多線程。
Multi-threading is a tool, which used judiciously, can make some tasks simpler (in development) and more efficient.多線程是一種工具,使用明智的,可以作一些簡單的任務(在發展)和更有效率。 It also makes any UI seems more responsive to user.它也使任何用戶界面,似乎更敏銳的反應用戶。
With帶有 ThreadLocal threadlocal multi-threading has become much simpler even for novices.多線程已成為簡單得多,即使是生手。
Myth 2: All Java projects follows Big-Upfront-Design 神話2 :所有的Java項目如下大的前期設計
Extreme Programming is a development paradigm which professes simple design and iterative rapid development cycles (1-3 weeks).極限編程是一個發展的範式,其中自稱簡單的設計和迭代的快速發展週期( 1-3週) 。 It professes against big upfront design.它自稱對大的前期設計。 Interestingly XP is widely practiced by Java developers, more so then any other languages by a large margin.有趣的XP是廣泛實行的Java開發者,更那麼任何其他語文的大幅度。 Many projects do follow BDUF and it is the same for any other production languages.許多項目做後續bduf ,這是相同的任何其他生產語文。 Lack of architecture or design in anyway doesn’t confer greater strength to PHP or any other languages.缺乏建築或設計在無論如何並不賦予更大的力量, PHP中,或者任何其他語言。
XP succeeds because of large volumes of unit and acceptance(read regression) tests to back up the rapid changes to codebase. XP的成功,因為大量的單位和接受(閱讀回歸)測試,以備份起來,迅速改變的CODEBASE 。 Without such tests to back you up, anyone who thinks unplanned massive changes to codebase (read hacking) is a recipe for success is courting disaster.沒有這樣的測試,以回你,誰認為,無計劃的大量更改的CODEBASE (閱讀黑客入侵)是一個成功的秘訣是災難。
Pages: 1 頁數: 1 2
Filed under提起下 Headline News頭條新聞 , , Java Software Java軟件 , , PHP PHP的 , , Technology技術 , , Web網頁 | |
| |
RSS 2.0 2.0 | |
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




April 26th, 2005 at 4:34 am 2005年4月26日在上午04時34分
As someone who knows both languages I am going to have to agree with your sentiments.正如有人誰知道這兩種語言,我將不得不同意你的情緒。 I do tend to think that the strictness of Java results in a longer development process, but maybe only because when using Java I get all OO purist and with PHP I don’t since I don’t have string objects, list objects, etc.我傾向於認為,嚴格的Java的結果,在一個較長的發展過程,但也許只是因為使用Java時,我得到的所有面向對象的純粹和用PHP我不因為我手邊沒有字符串對象,名單上的物體,等等。
Does anyone else feel that the PHP camp seems to feel more threatened by Java than vice versa?沒有任何其他人認為PHP的陣營似乎覺得更多的威脅,華比,反之亦然?
April 26th, 2005 at 3:50 pm 2005年4月26日在下午3時50分
“Does anyone else feel that the PHP camp seems to feel more threatened by Java than vice versa?” “沒有任何其他人認為PHP的陣營似乎覺得更多的威脅,華比,反之亦然” ?
Given the general lack of this kind of article from the “PHP camp” and the regular PHP articles from the “Java camp” I’d say vice versa.由於普遍缺乏這樣的文章從“ PHP中營”和定期PHP的文章,從“華營”我會說,反之亦然。 These articles creating these straw men about how the other “camp” just don’t understand us get very old.這些文章創造這些秸稈男子如何其他“陣營” ,只是不明白,我們得到很舊的。 The PHP developers I know understand the many benefits and strengths of Java and think it is a excellent system. PHP的發展,我知道了解很多好處和優勢, Java和認為這是一個很好的制度。
One difference you may be picking up on as “threatened” is simply a fact of open source life. 1與眾不同您可能會回升對作為“威脅” ,只不過是一個事實,開放源碼的生活。 Java is marketed by Sun, IBM, et al. Java是由Sun銷售, IBM公司,等人。 .NET is marketed by Microsoft. 。淨銷售由Microsoft 。 Millions are spent for mindshare.數百萬人用的Mindshare 。 Open source software is marketed by its community so some if the passion you be feeling is simply “marketing.”開放源碼軟件的銷售是由社區,使一些激情,如果你的感覺是簡單的“營銷” 。
April 26th, 2005 at 8:42 pm 2005年4月26日在下午8時42分
> regular PHP articles from the “Java camp” >經常PHP的文章,從“華營”
I have been monitoring several Java blogs and forums for years, haven’t seen many articles actualy, which prompted me to write in the first place.我一直在監測的幾個Java的博客和論壇多年,還沒有看到很多文章,其實,這促使我寫擺在首位。
> so some if the passion you be feeling is simply “marketing.” > ,使一些激情,如果你的感覺是簡單的“營銷” 。
If that is “marketing” they sure are doing a poor job at it.如果這是“市場營銷”他們肯定是做了窮人的工作。
April 27th, 2005 at 6:13 am 2005年4月27日在上午06時13分
“If that is “marketing” they sure are doing a poor job at it.” “如果這是”市場營銷“他們肯定是做不好,在它” 。
It is either “a poor job at it” or nothing at all, so they seem to choose “a poor job at it”.它要么是“一個貧窮的工作”或什麼都,所以他們似乎選擇“一個貧窮的工作” 。 Sort of a metaphor if you can see it.排序的一個比喻,如果您可以看到它。
April 28th, 2005 at 3:05 am 2005年4月28日在上午03時05分
@Jackson @傑克遜
> Does anyone else feel that the PHP camp seems to feel more threatened by Java than vice versa? >沒有任何其他人認為PHP的陣營似乎覺得更多的威脅,華比,反之亦然?
Very much so因此,十分
July 11th, 2005 at 7:59 am 2005年7月11日在上午07時59分
Christopher Thompson makes a good point - in general, the PHP community is not very interested in Java.克里斯托弗湯普森,使一個很好的點-一般而言, P HP社區是不是很感興趣,在J ava。 I would say Ruby on Rails is the only thing close to a “concern” for PHP, but I don’t think many developers are too concerned about what programming language they choose anyway.我會說紅寶石對鋼軌是唯一接近的“關注” PHP ,但我不認為許多發展商過於關心什麼編程語言,他們的選擇,無論如何。
The average Java developer is a 9-5 programmer, where the average PHP (or mod_perl, or Ruby on Rails) developer is a bit more passionate.平均Java開發商是一個程序員9月5日,平均的PHP (或mod_perl ,或紅寶石對鋼軌)的開發是一個多一點激情。 There are plenty of exceptions, but this seems to be the primary reason behind the Java community’s fear - a majority of them don’t want to have to learn something new if their language becomes obsolete.有很多例外,但,這似乎是首要的背後原因, Java社區的恐懼-他們大部分不想要學到一些新的,如果他們的語言變得過時。
To Java developers, I say don’t worry.以Java開發,我說不要擔心。 PHP’s popularity continues to grow, but Java still has a strong presence and will continue to for at least another decade. PHP的人氣持續增長,但Java的仍然具有很強的存在,並會繼續在至少十年。