25个下拉菜单导航脚本
这篇博客介绍了25个关于下拉菜单的脚本,有空学习研究一下:
http://vandelaydesign.com/blog/tools/dropdown-navigation-menus/
Flash & Facebook
随着Facebook的越来越流行,Adobe也不甘寂寞,何Facebook玩起了同盟,让Actionscript支持Facebook的开发API。可访问此网址获得更多相关信息。国外的很多网站都在使用都在使用Facebook Connect来实现自己网站和Facebook的之间的无缝连接。
不过感觉最困扰中国用户的还是两个问题:
- 过多的简化的山寨版的Facebook,很多根本不具有开发很多根本不具有开发API
- Facebook的网速真的不敢恭维,感觉在这方面Google比它强多了,看来要解决这个问题只能等facebook中国分公司的成立了。速度慢必然造成很多Javascript程序的加载失败,有时就不知道是自己程序错误还是网速的问题,同时调试简直就是一场噩梦。
Custom Form
是不是觉得标准的HTML的Form看上去不是很舒服,今天看到一个Mootools做的Custom Form 非常的不错。http://customformelements.net/demopage.php。当然也去尝试找找是否有jQuery的类似控件,只找到了jNice Form (http://plugins.jquery.com/project/jNice),不过和Mootools那套CSS的设计比起来可能还是差了一点。
挺迷惑的一点就是为何有这么多的Js的Framework,何时才能只需要选择一种就可以有所以的解决方案。
jQuery Tag Suggestion
这个jQuery的插件不错,主要实现的类似Delicious的标签推荐的功能,个人觉得这样的功能定义比原来这个jTagging使用起来更方便。
有兴趣可访问以下地址:http://remysharp.com/2007/12/28/jquery-tag-suggestion/
同时在此人博客中还找到了一个Text Box Hint的jQuery插件。其实前几天一直在找这个功能的插件,一直没找到。看来搜索的关键字也是一门学问啊。
使用PHP来动态生成CSS/JS
对于一个网站其实很多时候都需要对动态的生成所使用的CSS/JS,其中主要是CSS/JS中所包含的一些URL,当然这些URL信息也可以使用相对路径来实现,但在一些情况下使用相对路径并不能解决这个难题。
按照Yahoo YSlow(http://developer.yahoo.com/yslow/help)的建议1,就是必须减少HTTP的请求,当然手动把所有代码合并是一种方法,但这种方法反而会带来两个更糟的问题,把所有CSS/JS都合并到一个文件中,当然不利于代码的阅读和管理。如果使用jQuery,因为不同的Plugin都是会放在不同的js文件中,和Yahoo YSlow的建议有较大的冲突,当然是用动态语言来合并这些js文件应该是个不错的idea。合并过程中还可以使用jsmin.php来进行js文件的压缩。
如想使用这个技术可参考以下的几篇说明:
- Automatic merging and versioning of CSS/JS files with PHP
- Adding JSMin to my CSS/JS merging script (这篇写了一般,其实有更好的方法来做)
- GZip files with .htaccess and PHP (这篇是说明如何对输出的PHP内容进行GZip的压缩,因为动态文件无法使用Apache 的 GZIP的库来压缩,所以为了节省传递数据必须在PHP中把输出内容进行压缩)。
The Complete Idiot’s Guide to Sushi and Sashimi

Author: James O. Fraioli, Chef Kaz Sato
Publish: Alpha 2008
ISBN: 1592577822, 1436243386
pages: 192
Sushi is one of America’s favorite specialty foods, yet it can be intimidating to prepare at home. This guide shows how easy it can be to prepare restaurant- quality sushi that anyone would be proud to serve. Family members and guests will be exclaiming “domo arigato!” in no time.
• Contains 75 of the best sushi recipes from a well-known master sushi chef
• Includes in-depth, step-by-step information on everything readers need to know, from buying the freshest ingredients to proper preparation techniques to appetizing presentation
• Full-color insert helps reader fully understand and visualize the proper presentation
XapOptimizer
现在主要阻碍Flash、Sliverlight发展可能就是文件大小所占带宽的问题,否则肯定是RIA的网站遍地开花。
ComponentOne不愧是大公司的风范,抓紧时间就来一个Xap Optimizer,不过现在还是Beta版,要实现的功能如下:
- Integrate XapOptimizer as part of the build process in Microsoft Visual Studio to automatically optimize your XAP files.
- Reduce the size of your XAP files by 30-70%.
- Obfuscate your code.
- Use XapOptimizer with any Silverlight assembly including third party components; is not restricted to ComponentOne components.
挺诱惑人的,看来文件臃肿还是微软的老毛病。不清楚是不是微软的策略,他一直留了一些功能让第三方来支持,这个是不是就叫“做共同致富”。
有兴趣可以试试这个Beta网络版,看看效果如何?http://labs.componentone.com/XapOptimizer/
JQuery Plugin的教程
今天看到一篇关于JQuery Plugin的教程写的非常不错。其实JQuery中最难的可能就是这部分,也没啥文档教程讲了非常的清楚。不过这篇教程讲的挺深入浅出的,例子也比较简单。
如果你有兴趣,可以去读一下:http://net.tutsplus.com/videos/screencasts/you-still-cant-create-a-jquery-plugin/
LINQPad
LINQPad是一款由Joseph Albahari编写的免费独立应用程序,并是C# 3.0 in a Nutshell一书中的附加程序。
基本上,LINQPad是集成了IDE和SQL的LINQ解析器。LINQPad有简单而实用的用户界面,可即时执行LINQ查询,包括LINQ to SQL、LINQ to Objects和LINQ to XML等多语句查询。
LINQPad允许用户引用自定义程序集和导入自定义命名空间来进行扩展。通过这种扩展可以支持LINQ to Entities。
除了是学习和测试工具以外,LINQPad 针对SQL数据库执行特定查询方面越来越受欢迎。
Silverlight 2 Unleashed

Silverlight 2 Unleashed
by Laurent Bugnion
Publisher: Sams
Pub Date: October 15, 2008
Print ISBN-10: 0-672-33014-8
Print ISBN-13: 978-0-672-33014-8
Web ISBN-10: 0-7686-8684-9
Web ISBN-13: 978-0-7686-8684-5
Pages: 608
Overview
Silverlight is Microsoft’s new web-based User Interface (UI) technology, based on Windows Presentation Foundation (WPF), which is introducing many revolutionary concepts in the world of UI development. Silverlight uses XAML, with tools like Expression Design and Expression Blend, to create astonishing UI effects (such as gradients, compositions, and animations.) In addition to the richness of the UI elements, Silverlight 2 allows the use of C# or VB in addition to JavaScript to automate web pages. With Silverlight, you have the power of .NET on multiple platforms (IE and Firefox on Windows, Firefox and Safari on Macintosh, and Firefox on Linux). The author brings you up to speed very quickly with numerous hands-on examples.
-
Use XAML to create state-of-the-art user interfaces
-
Create XAML transforms and animations
-
Design compelling user experiences with Microsoft Expression Blend
-
Integrate media into your rich Internet applications
-
Program Silverlight with both JavaScript and .NET languages
-
Deploy Silverlight content to web pages
-
Encode videos with Expression Media Encoder
-
Make the most of Silverlight elements, resources, and styles
-
Use templates to quickly change your application’s look and feel
-
Efficiently debug Silverlight code
-
Use design tools to create graphics that import seamlessly into Silverlight
Author:
Laurent Bugnion has been a software engineer since 1996. He has worked with many programming languages and environments, including C, C++, Java, HTML/CSS/JavaScript, and, since 2002, the Microsoft .NET platform. He has been honored twice as a Microsoft MVP: first for ASP.NET and now for Client Application Development. He blogs about Silverlight and related technologies at http://blog.galasoft.ch.