BMTD 's Yard of Fun

Technology, Sports, Music, Chinese Essays

One of my old posts, with some thoughts apparently not true or outdated in today’s view; just put it here to fill the space 😉

— The technical platform selection first is determined by what kinds of resources/expertise the developemnt team have.

— Language by itself: PHP is a scripting language, like VB script used in ASP. whileas Jsp and are pre-compiled when serving the request, Java and ASP.NET(whether C# ,, J# or others) are full-fledged object-oriented language; PHP is still not full OO before version 5 . Traditional COM based ASP mainly uses VB/VBscript, which sucks.

— Enterprise level Services: J2EE and .NET and the traditional ASP (with microsoft DNA architecture built around COM/DCOM and MTS/COM+) provides enterprise level services such as component services, security, transaction management, object pooling, O/R amapping, clustering etc so that the application developer can focus on the application logic, and they are proven technologies in large-scale applications of various industries. PHP is weak at this area: You probably need to build the frameworks by yourself in a large scale/complex distributed system.

— About Software Design: Java/C# etc are good OOP languages and suitable of applying OO design patterns. Among the two, Java community is more design-patterns aware, with J2EE spec requesting developers having design patterns in mind when deisgning applications. Microsoft’s development tools, especially Visual Studio for ASP.NET emphersise on the usability and simplicity for the developer and don’t require advanced design knowledge. There are pros and cons of both approaches. J2EE’s approach makes it difficult for beginners, also the lacking of good IDE support (hopefully new IDEs with good JSF support will catch up) makes even very simple application development a complicated process. ASP.NET approach makes it easy for simple apps and beginners, but has more retrictions when you want to go more advanced steps.

There are lots of open source frameworks in J2EE to improve productivity and enforce design patterns, such as MVC frameworks like struts, webwork or JSF/ASP.NET types framework such as echo. ASP.NET basically is a page-level MVC framework. The use of framework can enforce the design pattern but on the other hand the developer is restricted by the framework’s own limitations.

AOP (Aspect-oriented programming) is one of the most hyped software engineering methdologies. There are lots of projects provides AOP in Java now, either through a language enhancement (aspectJ) or through frameworks utlizing bytecode enhancing or runtime reflection/Dynamic proxy(Spring, AspectWerkz, JBossAop etc). MS .Net currently does not have any of this, but probably will eventaully have similar features.

— tradional COM based ASP (asp 3.0) is currently widely used, but there are lots of issues with the technology and that’s why MS is discarding it and come up with .net.

— Lots of J2EE features are now being ported into .NET– for example in the up-coming 2.0, things like JDO or Hibernate type of O/R mapping is being added; The new “MS build” concept is stolen from the Apache Ant project; And because of the similarity between Java and C# languages, actually there are lots of open source Java frameworks are being ported to .NET: ant, junit, hibernate …; It’s similar vice versa: The Sun JSF specification is about the same concept as the ASP.NET web forms.

— When it comes to a web application, it is much faster to prototype it in PHP and ASP.NET than in Java without WYSIWYG IDE support.

— About backend Database systems: Although APache+PHP+MySQL is popular in building web apps, MySQL is not yet matured for complex systems, since up till now it still lacks some important features in a RDBMS: subselects, stored procedures, triggers, views, foreign key referential integrity etc. It just recently added transaction support with the help of innoDB
engine. All major commercial DBMS beat it in terms of features and performace under heavy multiple users, complex queries, and read/write query load. MySQL is faster for simple SELECT queries. If going for Open source DBMS, then Postgres SQL is a better choice both in features and licenses(truly open source ).

–Scalability: There is an never-ending argument between different camps. But I think the most important factor is the application architecture . If you build something that does not scale, it’s more of the design, not the language itself.

— vendor lock-in etc.

PHP and J2EE does not have the vendor lock-in problem.

At this moment ASP.NET do have the this issue. simply look at what MS did for Office users.

However, in the long run, .NET platform may not be a big problem for vendor lock-in. With (hopefully) the rise of open souce .NET implementations like MONO, we may not rely on MS for the .NET technology. but that’s not ture at this moment and quite possibly will never happen.

--Integration with other systems/platform:

traditional MOM middleware is well supported in java and MS technologies. they also support web services well. PHP also has some existing library supporting XML web services. PHP also supports calling other languages such as java.

本来还不知道,直到一天听到女儿嘴里嘟囔着什么“four witch’s tents, one nation under duck”。一问,才知道从kindergarten开始,就已经每天早上念这个了,只是她根本不知道是什么东东。我让她背了几遍,发挥托福听力功底,整理出这么个句子:

I pledge a legion to the flag of the united states of America and to the republic for the richs tens, one nation under guard, invisible with liver, tea and justice for all.


I pledge a legion to the flag of the united states of America and to the republic for Rich Stanz, one nation under guard, invisible with liberty and justice for all.

这个什么Rich Stanz 一定是个大英雄,绝对猛过华盛顿/杰弗逊,不然怎么是the republic for Rich Stanz呢。


I pledge allegiance to the flag of the United States of America, andto the republic for which it stands, one nation, under God, indivisible, with liberty and justice for all。

靠, 老美的爱国主义教育就是牛皋,好好学习天天宣誓,还附加上帝之教。





但总的来说市场是韩国游戏的天下。另外国内全是电脑网游,没有online console game.


其实美国网络游戏也很热,从游戏种类/数目上要比国内多得多。70年代开始美国已有许多mud games. 现在最流行的网游包括sony的EverQuest, EA的’Ultima Online等。quake/doom类的战斗游戏也较流行,但subscriber人数总的来说与亚洲相较不多。我想其中一个原因是可供选择的游戏太多,而且许多不用付费。


美国另一个特点是电视游戏(包括online console game)占了游戏市场大头。电脑游戏相对市场不大。


No comments



— 中国歌曲/歌手中,我特别喜欢的许多来自陕西或是陕西味:西北风/信天游太早,老崔的一无所有,侯德健的“三十以后才明白“都是陕北风味。“姐姐“的张楚,”回到拉萨”的郑钧,”天堂里有没有车来车往”的张恒,以及那个唱”楼兰新娘”的杨海潮全来自西安。前两天发的那陕西风味的练死小日本也够有味道吧。所谓摇滚,不就是秦腔吗。

— 拍电影拍的好的是陕西人。什么第五代导演黄土地之类都是从西影出来的。张艺谋是个典型。

— 陕西文人:看了贾平凹写的文章(商州纪事什么的,不算“此处删去XX字“的那本东西)才知道什么叫怪才。路遥,陈忠实们更不用说了,尤其是路遥,“平凡的世界“曾感动得俺清纯少年茶饭不思了好几天。

— 陕西人民博大精深,卧虎藏龙。据说在西安附近随便碰到个人都没准儿身有绝技,或精通字画,或潜心周易…连卖肉的郑屠都是北大毕业的。西安的城墙上一到晚上就高手云集,手执三千年前的yun吹出秦音汉韵。就连小流氓,北京叫痞子,广东叫飞仔/古惑仔,西安却叫闲皮(han2 pi2)–透着点悠闲从容的劲儿。

— 一次我去洛阳春都集团做项目,对方请项目组吃饭喝酒行令。一位对方女VP在酒桌上将我方一帮深圳来的小伙子杀得东倒西歪。差点讨饶之际,一直不做声的“超哥“挺身而出,一通陕西拳救了大家。当时半醉听不清拳词(好像有一句“桃园三“),只觉得其中隐隐有风雷之声。

— 陕西的羊肉泡/肉夹馍真养人!说起这个哈拉子就快流出来了。当年北大东门边上在去逸夫二楼半路上的“老孙家“太带劲了,在天寒地冻的时节来俩肉夹馍,一大碗肉汤,全身上下顿觉summer of love火火烫敢把皇帝拉下马。当年考G之前吃了俩肉夹馍当早餐,结果分数比平时练习最好成绩还高100!(北京的哥们,不知那家店还在不在?怀念哪!)那店老板/小二全是一色的关中大汉,身长丈二,声如洪钟,都是吃羊肉泡肉夹馍吃出来的。

— 陕西人深深认识到中国百姓千百年来的疾苦,真正知道“民以食为天“的道理,所以张口就是“饿“,“饿们“。

— 最重要的是俺认识的陕西蓝虾绿虾们也个个是不同凡俗,别有风骨(为免擦鞋嫌疑,以下略去3000字)……


First post

No comments

This is my first post. Just to test the wordpress setup.