在internet上,B/S结构的程序,胖客户端的概念已经提出来很多年了。应该很多人都在向这个方面努力,好处就不用说了,当然是为了减少服务器负担,同时也能减少些网络负担。像大部份的门户,访问得人实在太多了,单台服务器跟本没有办法处理这个工作量,所以集群技术被利用了,但又有多少公司能单单为一个网页提供一整套集群服务呢?所以,人多就是麻烦事喽~~
而胖客户的路线也不见得完全正确,典型的例子http://www.chouti.com一个网址收藏网站,基本上完全尊照了胖客户的思路开发了它的网站,用了全套的ajax程序,同时问题也产生了,总是角本错误不断,更完这那儿又出现问题。我相信他们的开发团队也是一个很强的团队,但还是有问题啊。总结来说,同时让客户端载入所有要用和暂时不用的函数,对javascirpt语言来说,并不是一件这么容易的事啊。
所以我有了想动态载入javascirpt函数的想法.利用ajax技术和类技术我想完全可以实现。基本的思种非常明确,当客户端要使用某一个函数的时候,很check内存,此函数之前是否已经使用过,如果使用过,直接加载使用,如果没有使用过,就向服务器发出请求,把函数体入到本地,然后使用之。
思路虽然有了,但是我还没有完成示例代码~~嘿嘿
sacrificing wow power leveling it. For spending 40 points in the Demonology tree, you earn an entirely new minion that other Warlocks will not have; the wow power leveling Felguard.
The Demonologist Warlock is more able to survive while soloing; you’re not as likely to draw a mob off of your minion and get best wow gold yourself killed. However, that’s because you may not be able to do as much
damage as wow power leveling an Affliction or Destruction Warlock can. In a group, you’re less likely to be the top damage dealer,
but you still have cheapest wow gold some useful skills to offer; your Voidwalker or Felguard may be able to effectively hold a mob while your group is defeating a different one, or your Succubus may be better able to
Seduce one of gold for wow your enemies, effectively controlling it and keeping it from going after your healer.
Destruction – world of warcraft power leveling Almost everything in this talent tree improves your ability to do massive damage,
plain and world of warcraft power leveling simple. Using this specialization you can easily surpass the damage-per-second (DPS) of any other equally-geared damage dealing classes. To go “all out” however, will get you killed quickly unless you have a superb tank to keep the wow power leveling baddies away from you