Category Archives: ajax

[Javascript] JSONP: some useful tutorials

If you want to know the detail process of JSONP(JSON with Padding).There are some useful web pages: [JSONP] Use jQuery + JSONP + ASP.Net to get data via  the cross-domain way. ( in Chinese) Cross-Domain Ajax (JSONP) (in Chinese)

Posted in ajax, jQuery, Programming, Web Design | Leave a comment

[Chrome] The Useful Materials of Chrome Storage

  Congratulations! The number of users for my developed Chrome extension:Yahoo Dictionary (The Chinese name is “Yahoo字典查詢器“) has been over 540 users. The next version 0.3 will have some important features: Store the searched word to construct user’s learning records. Customize … Continue reading

Posted in ajax, browser, chrome, cloud computing, jQuery, 網頁撰寫 | Leave a comment

[Web Design] 用jQuery Mobile 開發Mobile Web Apps

方才筆者看到了jQuery 的手機版網頁開發:jQuery Mobile號稱由jQuery 團隊支援的手機版網頁開發APIs,有著以下特色: 以 jQuery 為核心 檔案極小 (重新製作過的核心壓縮過約80kb,加上css約48kb) 支援HTML 5,且透過 HTML5 data-* tag 來達成種種 UI 的設定 自動切換排版 支援滑鼠與觸碰事件 (Event Driven) WAI-ARIA (參見[4], [5], [6]  ) 強大的佈景主題系統 ASP.NET MVC 的支援 (特別支援 ASP.Net MVC 4 ) 支援市面上大部分行動裝置 畫面一致 多樣化的 UI Progressive … Continue reading

Posted in ajax, ASP.NET, browser, jQuery, 程式設計, 網頁撰寫, 資工, 軟體(Software) | Leave a comment

URL最大長度

URL最大長度的限制,在標準規範中並無定義。但是,Microsoft Internet Explorer 有規定,需在2,083個字元內。其他瀏覽器,如Firefox、Chrome、Opera等,至少為65,536個字元。 但Apache Server可接受的字元數為4,000,IIS則為16,384。 因此,若開發人員想要利用URL傳遞參數的話,URL長度盡量在2,000個字元內,會比較安全。 參考資料 URL的最大長度限制 最大 URL 長度是在 Internet Explorer 中的 2,083 字元

Posted in ajax, ASP.NET, browser, jQuery, mvc, PHP, 網路, 網頁撰寫, 資工 | Leave a comment

[ASP.NET] [網摘] 使用JSON.NET處理動態物件屬性

就如同Json.NET官網的解說:”Json.NET is a popular high-performance JSON framework for .NET”。而黑暗執行緒 網站也為它介紹了這麼一段話:”一個極為出色的Open Source JSON解決方案,提供了如同JavaScriptSerializer序列化及反序列化JSON字串的功能,甚至支援LINQ式操作,最重要的是它可透過JObject的物件模型支援”動態物件”,解決類別屬性不固定的問題。” 因此,若大家有興趣的話,可以到這邊看看,黑暗執行緒網站怎麼以簡單的範例帶我們了解JSON.NET如何支援動態物件吧!

Posted in ajax, ASP.NET, C, jQuery, 程式設計, 網頁撰寫 | Leave a comment

[ASP.NET] 在MVC 3上包JSON物件,送給Controller的方法

大家搞了好久才知道怎麼做。感謝Shawn的提供,我來筆記一下:)根據 Posting JSON Data to an ASP.net MVC 3 Web Application 的解說,我們只要輸入透過ajax等技術,把要抓取的Web物件,封裝好後,丟給後端的MVC Controller協助處理就好囉。程式碼大概長成下面這樣: 若想進一步研究,我有以下三個不錯的連結提供給各位:1. http://social.msdn.microsoft.com/Forums/zh-TW/236/thread/0ab6d592-8ded-4b34-a396-229c319b54ee2. http://stackoverflow.com/questions/309115/how-can-i-post-an-array-of-string-to-asp-net-mvc-controller-without-a-form3. http://stackoverflow.com/questions/5251992/using-jquery-post-for-mvc-3-not-working-when-deployed

Posted in ajax, ASP.NET, jQuery, 程式設計, 網頁撰寫 | Leave a comment

C# & ASP.NET相關資源

程式角落:ASP.NET(C#) ASP.NET中的Code Behind技術 關於 Code Behind 與 Code Inline 開發模式的使用時機與技巧 詳細解說幾個建置網站時常用的編碼方法 必網文章集錦 (包含了ASP.NET, PHP, XML…) [c#]asp.net+jQuery+json做Ajax ASP.NET MVC3 ASP.NET 基本資料庫連結 C# Coding Style

Posted in ajax, ASP.NET, C, XML, 程式設計, 網頁撰寫 | Leave a comment

[網頁] jQuery 初探

上網找了一些學習資源,初學者依照以下順序閱讀即可。1. jQuery 教學 – 基礎篇 http://jsgears.com/thread-63-1-1.html2. jQuery 語法基礎 http://webdesign.kerthis.com/jquery/3. jQuery Tutorials for Designers (有現場範例可以給你了解) http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/4. 更多教學文章推薦 http://jsgears.com/thread-75-1-1.html5. 當然,官方的Document也是必備的閱讀材料之一。只是我覺得它的文法有些奇怪。 http://docs.jquery.com/Main_Page

Posted in ajax, jQuery, 網頁撰寫 | Leave a comment