This document discusses Mojito and cocktails. Mojito is a JavaScript MVC framework built on YUI3 that allows developing client and server components in the same language. Cocktails is an HTML5, NodeJS, CSS3 ecosystem that Mojito is part of. The document demonstrates creating a basic "Hello World" Mojito application and covers Mojito concepts like routing, views, and built-in mojits. Mojito applications can be deployed to Heroku and asset management is supported through Mojito Shaker.
Cocktails – Shaken, Not Stirred @osdc.twYu-Wei Chuang
Eric Chuang presents on Cocktails and Mojito. Cocktails is a mix of technologies including HTML5, NodeJS, CSS3, and YUI used to build hybrid mobile apps. Mojito is an MVC framework built on YUI that allows developing client and server code in JavaScript and running on browsers and Node.js. It has built-in support for internationalization and testing. Mojito applications have a directory structure and are configured via files like application.json and routes.json. Views use Mustache templates. Demos show routing, device-specific views, and using built-in mojits like HTMLFrameMojit.
1. Android N introduces multi-window mode which allows users to use multiple apps simultaneously by displaying them in split-screen or picture-in-picture modes.
2. Developers can configure their apps to support multi-window mode through settings like android:resizeableActivity and by handling configuration changes and lifecycle methods appropriately when an app is in a paused state but still visible.
3. Best practices for multi-window include designing first for the smallest screen size, handling all orientations, and ensuring activities work properly when launched by other apps in multi-window mode.
This document discusses Mojito and cocktails. Mojito is a JavaScript MVC framework built on YUI3 that allows developing client and server components in the same language. Cocktails is an HTML5, NodeJS, CSS3 ecosystem that Mojito is part of. The document demonstrates creating a basic "Hello World" Mojito application and covers Mojito concepts like routing, views, and built-in mojits. Mojito applications can be deployed to Heroku and asset management is supported through Mojito Shaker.
Cocktails – Shaken, Not Stirred @osdc.twYu-Wei Chuang
Eric Chuang presents on Cocktails and Mojito. Cocktails is a mix of technologies including HTML5, NodeJS, CSS3, and YUI used to build hybrid mobile apps. Mojito is an MVC framework built on YUI that allows developing client and server code in JavaScript and running on browsers and Node.js. It has built-in support for internationalization and testing. Mojito applications have a directory structure and are configured via files like application.json and routes.json. Views use Mustache templates. Demos show routing, device-specific views, and using built-in mojits like HTMLFrameMojit.
1. Android N introduces multi-window mode which allows users to use multiple apps simultaneously by displaying them in split-screen or picture-in-picture modes.
2. Developers can configure their apps to support multi-window mode through settings like android:resizeableActivity and by handling configuration changes and lifecycle methods appropriately when an app is in a paused state but still visible.
3. Best practices for multi-window include designing first for the smallest screen size, handling all orientations, and ensuring activities work properly when launched by other apps in multi-window mode.
JavaScript is a client-side script language, but we can use it on server side programming now. However, it is still difficult to write server-side application for front-end developer.
Here we try to find a solution to write server-side script that developer only need to understand and have client-side experience.
Introduce twMVC
list text here ASP.NET MVC 可以吃嗎?
ASP.NET MVC 的成功案例
什麼是 MVC
MVC 概觀
ASP.NET MVC 對物件導向的潛移默化
View 簡介
View Engine
HTML Helper
Partial View
Razer Helper 小技巧
JavaScript is a client-side script language, but we can use it on server side programming now. However, it is still difficult to write server-side application for front-end developer.
Here we try to find a solution to write server-side script that developer only need to understand and have client-side experience.
Introduce twMVC
list text here ASP.NET MVC 可以吃嗎?
ASP.NET MVC 的成功案例
什麼是 MVC
MVC 概觀
ASP.NET MVC 對物件導向的潛移默化
View 簡介
View Engine
HTML Helper
Partial View
Razer Helper 小技巧
4. 什麼 是Mojito
Yahoo! Open Source Mojito in April, 2012
A JavaScript MVC framework built on YUI3
for web applications.
Because client and server components are
both written in JavaScript, Mojito can run
on the client (browser) or the server
(Node.js).
25. 來 談談前端吧
我們使用 YUI 3.6
附帶一提 YUI 最新的版本是 3.8.0
http://yuilibrary.com/
也用 LESS
LESS extends CSS with dynamic behavior such
as variables, mixins, operations and functions.
http://lesscss.org/