惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
F
Full Disclosure
G
Google Developers Blog
罗磊的独立博客
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
A
About on SuperTechFans
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
GbyAI
GbyAI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
The Register - Security
The Register - Security
U
Unit 42
D
Docker
Martin Fowler
Martin Fowler
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
阮一峰的网络日志
阮一峰的网络日志
C
Cybersecurity and Infrastructure Security Agency CISA
博客园_首页
Google DeepMind News
Google DeepMind News

博客园 - RicoRui

【转让】看看有你喜欢的书籍嘛?--都是我翻过的。 TFS --- GrantBackup Plan Permissions Error 用户界面草图设计工具-工具包和资源 IIS URL Rewrite Model & ASP.NET Route Component ‘s Diff Entity Framework 4 & 4.1 [转] LINQ Method cannot be translated into a store expression. Script# [转]qUIpt:JavaScript Cache Library Project Calculation Rules Proposal for Delayed Script Execution 10个有用的网站访问分析工具 20个免费的seo页面分析工具 网站流量统计定义 Minify JavaScript On the Fly Agile -- Scrum Resource UML with VS2010 Ultimate [转]探究TFS 2010中的测试功能 技术债务 Windows Phone 7 Jump Start
C# + Html5 =C3
RicoRui · 2011-04-27 · via 博客园 - RicoRui

There are some rumors lately about a new Microsoft project called C3 (cloud computing client, or a synonym to C# [the # key is the same as '3' in a QWERTY keyboard]) which is designed to bring better development experience to web, using Html5, JavaScript and CSS in combination with some Microsoft based technologies (.Net, C#, etc.).

Microsoft C3 What

In very high level, what Microsoft is trying to do with this project is to ease the development experience of building a web application using Html5 by providing better coding tools that will provide things that do not exist today such as:

  • type-safe variables
  • modular architecture
  • managed languages such as C#

Microsoft is constantly trying to keep developers from leaving Visual Studio in favor of other IDE's and a new set of tools for Html5 can definitely bring value to web developers aiming to build features rich applications that will work both online and offline.

I've recently predicted that by 2013, Html5 based applications will rule the enterprise, because of all the advantages this technology brings together with being the only true device agnostic technology to date.

Html5-MobileSpoon

Since I've recently participated in a project which involved Html5, mobile apps, offline mode, and an extremely powerful design, I would like to give an example of how web development (for mobile) can change with the introduction of Html5:

In most web applications, every time you a submit a request, save a change, or goes to another page – you actually send a request to the server. This is probably the oldest pattern in web, but it also means you need a valid connection to the server 100% of the time.

The request is sent to the server, the server builds the response, generates the page and content, and sends it back to the client.

This is perfect for desktop applications , but what about a smartphone or tablet which is sometimes offline? no connection then, which means the application is stuck.

This is where Html5 can come to the rescue; with a local database, caching of the pages, and some extensive JavaScript code – you can practically process the requests in the client side, without having to call the server. The requests to the server can be stored in the database as well and can be synced whenever connectivity is back. (In the past, developers tried to minimize the use of JavaScript in the client side due to performance issues – but as we progress, browsers are now completely capable of doing massive JS work without any issue).

Such kind of pattern (offline storage, message queues, client side processing) was typical for native mobile applications years ago, and now Html5 enables such patterns for mobile web apps as well. The only problem with it is that as a developer you have to build your product infrastructure to make it work. That's a lot of work, and I'm talking from my own experience. Unless… unless Microsoft comes up with a new technology that will make most of it ready, and thus simplify the entire thing. It will be similar to building a new improved version of Silverlight which is based on Html5, JavaScript and CSS and does not require any ActiveX installation whatsoever. Think how efficient that could be!

Now, if Microsoft can also add to it some C# wrappers so that developers can use C# when they code instead of JavaScript – that can be even better! Faster coding, type-safe, database, client side processing, a perfect world.

Amazing stuff.

What's even more amazing is that such a product already exists.

Thousands are already using it. It's called: Script# (Script Sharp).

Oh, and it's free too…

And you can read all about it in here: Script#.

---

You can read more about Microsoft C3 in here.