2008年1月28日星期一

網摘 28-01-2008

Top 40+ GIMP plugins
不過GIMP真的搞搞個介面好吧....

GIMP is the undisputed king of image editing in Linux platforms, and is next only to Photoshop in popularity in Windows and Mac platforms. With a large community of developers and an even larger pool of users, it is no surprise that GIMP is very popular.
Much like Firefox, GIMP’s strength lies in its plugins, which are developed by the open-source toting community. Since the users themselves develop them, they know all the needs and conceive a plugin for everything (well, except making a coffee for you ;) ).
http://www.techzilo.com/gimp-plugins/

Web Developer's Handbook | CSS, Web Development, Color Tools, SEO, Usability etc.
很多好用的網站連結,不過我覺得叫Web 2.0 Designer Handbook較貼切.
Web Developer's Handbook is a list of essential web-sites, which make the life of web developers easier.
http://www.alvit.de/handbook

Free Website Templates By Dream Template
超過370個免費的Web Template Free for Download
http://www.dreamtemplate.com/templates/Free_Website_Templates.html

2008年1月19日星期六

網摘 Jan 19,2008

- Multiple return values, I want this in C#
http://weblogs.asp.net/fredriknormen/archive/2007/11/28/multiple-return-values-i-want-this-in-c.aspx
這個其實我都有想過,但有時候我會Return Generic List或Array去抽取index values就算。

- Free .NET Components
http://www.blocks4.net/FreeProducts/FreeProducts0.aspx

- Ajax.NET Professional is DEAD
http://ajaxwidgets.com/Blogs/thomas/ajax_net_professional_is_dead.bb
同MS Ajax相比,Ajax Pro太難用了,受淘汰都很正常。

- Top 5 tips for a healthy ASP.NET application
http://blogs.msdn.com/lucascan/archive/2008/01/06/lucascan-s-top-5-tips-for-a-healthy-asp-net-application.aspx

- Completely free PDF .NET library written in C#
http://aspnetcafe.com/post/Completely-free-PDF-NET-library-written-in-C.aspx

- Graffiti CMS IS Faster than WordPress
http://www.cesarserna.com/dotnet/graffiti-vs-wordpress/
其實.NET的Free CMS Software不多,較出名的相信只有mojoPortal.
這個Graffiti CMS似乎不錯,是使用ASP.NET 2.0編寫的,不過免費版本用Access 做Database就似乎有點那個....
但很搞笑的是,在官方網頁,作者說使用Access DB是因為
( Yes. One of our big goals with Graffiti was to make sure that you didn't need a Computer Science degree to use it. In fact, even though Graffiti is built with Microsoft's .NET technology, we don't even assume that people have experience with the technology with which the application is written.)

- 4 ASP.NET AJAX JavaScript UI methods you should learn
http://encosia.com/2008/01/09/4-aspnet-ajax-javascript-ui-functions-you-should-learn/

- Highslide JS .NET
Highslide JS .NET is a .NET control to encapsulate the functionality of Torstein Honsi’s excellent Highslide JS library.
http://encosia.com/downloads/highslide-js-net/

- SQLite on .NET - Get up and running in 3 minutes.
http://www.mikeduncan.com/sqlite-on-dotnet-in-3-mins/
Yes~以Portable & Standalone為主的Database,我都是首推SQLite,Firebird不是不好,只是CodePlex網站上,已經有完善的ASP.NET Provider For SQLite。

WordPress PlugIn - Infinite Scrolling Posts

這個Plug-in我都不太懂怎形容,就是使用Ajax把你後續的頁面的文章連續延伸~
如果你有用Firefox Extension那個Custom Google就會知是什麼。

沒有的話,亦都可以去這裡看看效果 : http://blog.netnerds.net/
把Browser Scroll Bar拉到最低就會看到Loading Bar出現。

其實我認為很多人的上網習慣或者都跟我一樣,一般都不太想按<下一頁>...

我找到有兩個同類Plug-in :
1. The Hott Infinite Scrollage
要使用的話,需要檢查theme下的index.php,內容是不是在"content"的DIV中。
這個效果較好,但不知道是否和我的Template或PlugIn起衝突,
我Active後,不能正常運作。
但你都可以試試,因為這個很輕量,而且不用寫Setting進Database的Options Table。
http://blog.netnerds.net/2007/10/aurgasmus-and-the-hott-infinite-scrollage-an-upcoming-wordpress-plugin/

2. Infinite Scrolling Plugin for Wordpress
這個是我現在使用中的,效果就直接返回本Blog主頁,Scroll到最低做測試,
不過缺點是沒有Ajax Loading Image,但問題不大,我相信自己都可以修改一下。
這個Plug-in就需要把你Theme中的index.php一段Code Copy&Paste 至PlugIn 中的Template,
詳情請見Readme file.http://bohuco.net/blog/?tag=infinite-scrolling
0.20版本在Project Page這裡 , 我估作者忘記同步更新...
http://bohuco.net/blog/?page_id=73

2008年1月18日星期五

101 LINQ Samples

其實MSDN無論中文版或英文版,Microsoft都是時候整理一下,唔單止MSDN,程式Language本身既專屬網頁都有點凌亂....
很多時候見到的新Topic,可能當時沒有時間看,打算過幾多日才睇,點知過幾日後上去,已經很難找回該網頁...

剛找到參考性極高的LINQ文件,有Visual Basic版和C#版本。

Visual Basic Version : (VB版本似乎內容豐富很多...)
http://msdn2.microsoft.com/en-us/vbasic/bb688088.aspx
C# Version :
http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx

學習C# 3.0的好網推薦

這幾天都學習C# 3.0的新功能,主要都是ADO.NET Entity Framework,LINQ和 Extension methods,
一路玩LINQ,就一路有疑問,就是何時應該使用LINQ。看過很多Example , 都是先建立一個Class,去把TableColumn先做Mapping,再由DataContext去把Table實體化。

之後很多都會直接做DataSource 或者轉做 Anonymous types,但是我昨天就試過把LINQ的Table轉回至DataTable,最後都不知怎樣做,上Google Search找回來的竟然是使用Foreach去讀出Anonymous types,再填入Datarow再加進DataTable....
完成後的Code比傳統使用ADO.NET更長更複雜....我覺得如純粹做Data-Mining,使用LINQ有點冗長。

但相反,由DataSet 中,使用LINQ把資料讀出就比較直接先進.

最後到Extension methods ,十分好用而且簡單,可以看看:
Using the New Extension Methods Feature in C# 3.0
http://www.developer.com/net/csharp/article.php/3592216
C#之 VS2008 之 Extension Methods
http://www.cnblogs.com/hanxianlong/archive/2007/11/06/951446.html
C# 3.0 feature 2--Extension methods
http://www.cnblogs.com/hiber/archive/2007/04/29/725617.html

清理Bookmark 時看到這幾個網頁,我覺得是寫得不錯的,都不是新文章,都是C# 2.0的東西.

Iterator :
http://www.cnblogs.com/JimmyZhang/archive/2007/08/22/865245.html

.NET Framework 2.0 中的Generic Class :
(如你還在使用ArrayList,要看看box和unbox對效能的影響)
http://www.cnblogs.com/JimmyZhang/archive/2007/08/04/842663.html

Delegate & Event :
http://www.blueidea.com/tech/program/2007/4959.asp

C# 2.0中的Nullable Type
http://dotnetframework.blogspot.com/2006/08/c-20nullable-type.html

2008年1月15日星期二

Top 60 PHP IDE & Editor List

近期工作上要接手一個PHP Project,老實說,我對PHP全無興趣....PHP可以做的,我ASP.NET都可以做,
而我愛C# / VB語言多過PHP...

真是要學多一種語言,我會選擇近似C#的Java都未到PHP...
不過冇辦法,始終都是工作~

上網狂找商業或免費的PHP IDE軟件,最後試用了很多,我的要求只是想好像Visual Studio 般有Syntax Suggestion,其他都不太重要~
最後我在Eclipse PDT 和NetBeans 6.0 + PHP Plugin中選擇,因為我覺得這兩個比很多商業的更好,而且兩者都是Java高位的IDE,掌握工具後,或者日後真的學習Java都有幫助,不過兩者中最後都是選擇NetBeams 6.0 + PHP Plugin,整個集成環境最近似Visual Studio。
很適合新手,而以下就是我找到的PHP IDE,大家可以自己試試。

這4個我覺得免費又不錯的~
Eclipse PDT
http://www.eclipse.org/pdt/
NetBeans 6.0 IDE PHP Plugin
http://php.netbeans.org/
Aptana Studio 1.0
http://www.aptana.com/
PHP Development Studio v2.0
http://www.joomlatwork.com/products/free_products_for_joomla/php_development_studio_2.0.html

以下是轉貼自php-editors.com
Editor Name Version License Platform/OS Rating
 NuSphere PhpED 5.0 Commercial
Windows
Linux
5/5
 PHP Edit 2.10 Commercial
Windows
5/5
 PHP Designer 2005 3.0.6 Commercial
Other
Windows
5/5
 ActiveState Komodo 3.5 Commercial
Other
Windows
Unix
Linux
Other
5/5
 Maguma Workbench 2.6 Commercial
Windows
Linux
Mac
5/5
 Bluefish 1.0 Other
Unix
Linux
Mac
5/5
 emacs 21 Freeware
Windows
Unix
Linux
Mac
Other
5/5
 NuSphere Nu-Coder 1.4 Commercial
Other
Windows
5/5
 Dreamweaver 8 Commercial
Windows
Mac
Other
5/5
 TSW WebCoder 2005 2005 Commercial
Other
Windows
5/5
 Maguma Studio Pro 1.3.X Commercial
Windows
4/5
 Maguma Studio Free 1.1.0 Freeware
Windows
4/5
 PHP Editor by EngInSite 3 Shareware
Commercial
Windows
4/5
 PHP Eclipse 1.06a Freeware
Unix
Linux
4/5
 Xored:: WebStudio 0.3.4 Freeware
Windows
Unix
Linux
Other
4/5
 SciTE 1.53 Freeware
Windows
Unix
Linux
Other
4/5
 VS.Php Beta 3 Commercial
Other
Windows
4/5
 Macromedia HomeSite 5.5 Commercial
Windows
4/5
 Kate 2.2 Freeware
Linux
4/5
 TextPad 4.7.2 Freeware
Commercial
Windows
4/5
 Davor's PHP Constructor 1.0 Shareware
Commercial
Windows
4/5
 HTML-Kit 292 Freeware
Commercial
Windows
4/5
 VIM 6.1 Freeware
Windows
Unix
Linux
4/5
 PHP Expert Editor 2.5 Shareware
Commercial
Windows
4/5
 DzSoft PHP Editor 1.4 Shareware
Commercial
Windows
4/5
 Anjuta 1.0.1 Freeware
Unix
Linux
4/5
 Edit Plus 2.11 SR-2 Shareware
Commercial
Windows
4/5
 Quanta Plus 3.2.1 Freeware
Linux
4/5
 Zend Studio 5 Commercial
Windows
Unix
Linux
Mac
Other
4/5
 EngInSite Editor for PHP 2.2 Shareware
Commercial
Windows
4/5
 Pidela 0.1 Freeware
Windows
Unix
Linux
Mac
3/5
 PHP Side (Simple IDE) 0.4 Freeware
Windows
Unix
Linux
3/5
 EmEditor 4.0 Freeware
Shareware
Windows
3/5
 ConTEXT 0.97.4 Freeware
Windows
3/5
 Roadsend Studio 1.1.1 Commercial
Windows
Unix
Linux
3/5
 TruStudio 1.0.0. Freeware
Windows
Unix
Linux
Mac
3/5
 PHPMaker 3.2 Shareware
Commercial
Windows
3/5
 PHP backend generator 0.9 Commercial
Windows
Unix
Linux
Mac
Other
3/5
 Smultron 1.0.1 Freeware
Mac
3/5
 HAPedit 3.1 Freeware
Windows
3/5
 Svoi.NET - PHP Edit XP 4.0 Freeware
Windows
3/5
 tsWebEditor 2 Freeware
Other
Windows
3/5
 BBedit 7.0 Commercial
Mac
3/5
 BBedit Lite 6.1 Freeware
Mac
3/5
 Cooledit 3.17.7 3/5
 Nedit 5.3 Freeware
Unix
Linux
3/5
 PSPad 4.3.0 Freeware
Windows
3/5
 PHP Coder 3 Freeware
Windows
3/5
 AceHTML Pro 5 Shareware
Commercial
Windows
3/5
 Top PHP Studio v1.19.6 Shareware
Commercial
Windows
3/5
 jEdit 4.1 Freeware
Windows
Unix
Linux
Mac
Other
3/5
 SubEthaEdit 1.1.5 Freeware
Mac
3/5
 umdev 2004 Shareware
Windows
3/5
 Dev-PHP 3.0 Freeware
Windows
3/5
 Crimson Editor 3.60 Freeware
Windows
3/5
 PHP Processor 1.2 Shareware
Windows
3/5
 Arisesoft Winsyntax 2 Freeware
Windows
2/5
 SEG 1.0.1 Freeware
Windows
2/5