My ux blog: https://uxvietnam.com
Ưu điểm
Trải nghiệm và sử dụng phần cứng tương đương native
Viết ứng dụng chỉ bằng C#, chia sẻ source code giữa các team, dễ bảo trì và phát triển.
Nhược điểm
Giá license cao (25$/developer/month/platform)
Không sử dụng được ngay do hỗ trợ mặc định của Xamarin Form còn sơ khai
2. Các công nghệ phát triển mobile app
Web/Wap
Mobile
HTML5/
Phonegap
Xamarin Native Apps
Độ khó, thời gian, tốc độ & trải nghiệm
cross platform
Công nghệ nào phù hợp
với Viettel???
4. Những vấn đề của Cross-platform
1
2
3
Limited API Access
Non-Standard UI
Not Native Performance
5. Các ý kiến trái chiều về cross-platform
Có rất nhiều ý
kiến cho rằng
Cross-platform
là không khả
thi. Vì… (1)(2)
(3)
Thế giới chứng
minh là khả thi
Một số công ty
ở Việt Nam đã
triển khai thành
công
Làm
thử
(POC)
Làm được! Vấn
đề là cách làm
IBM, SAP,
Saleforce, Oracle
FPT, Lacviet
6. Cross-platform ở Việt Nam
A. HTML5
• TPBank với web/mobile app. (thành công!)
• Techcombank với F@tConnect (thất bại!)
• Vietjetair (tạm được!)
B. Xamarin
• FPT Software với DMS (Masan)
• Lacviet
7. Cross-platform ở IBM – IBM Mobile First
• Build native iOS and Android
enterprise apps that leverage IBM
MobileFirst’s integration, security and
connectivity
• IBM MobileFirst SDK for Xamarin
• IBM MobileFirst add-ons for Xamarin
Studio and Visual Studio
8. Cross-platform ở SAP
• Xamarin + SAP Mobile Platform
SDK in the Component Store
• Xamarin Test Cloud with SAP
Mobile Platform data verification
capabilities
• Xamarin offering Xamarin + SAP
Certified Consultant program
• Xamarin University offering
expert-led course on best
practices in using Xamarin with
SAP
9. Đánh giá HTML/Phonegap ở Viettel
Phù hợp với các loại dự án
• Làm POC
• Điều khiển từ xa (bật, tắt, điều chỉnh thông số, IOT)
• Thống kê và báo cáo dữ liệu, quản lý dữ liệu từ xa
• Trang tin/media
Không phù hợp với các loại dự án
• Cần nhập liệu nhiều
• Sử dụng phần cứng thiết bị nhiều (contact list, camera…)
• Triển khai rộng khắp, cần trả nghiệm tốt nhất trên các thiết bị chậm nhất
10. Xamarin Info
• Xamarin thành lập từ tháng 5 năm 2011 từ dự án Mono
Open source – (một platform cho phép chạy .NET trên
tất cả các nền tảng : linux, android, ios...)
• 15,000 customers
• 1,100,000 developers
• Pricing: 25$/month/developer/platform.
• Global partnership of Microsoft (tích hợp mặc định vào
Visual Studio)
11. Ưu/ nhược điểm của Xamarin
Ưu điểm
• Trải nghiệm và sử dụng phần cứng tương đương native
• Viết ứng dụng chỉ bằng C#, chia sẻ source code giữa các
team, dễ bảo trì và phát triển.
Nhược điểm
• Giá license cao (25$/developer/month/platform)
• Không sử dụng được ngay do hỗ trợ mặc định của
Xamarin Form còn sơ khai
12. Mô hình kiến trúc của Xamarin
Để tạo ra Presentation
Layer
• Xamarin Form
• Xamarin iOS Native by C#
• Xamarin Android Native by
C#
• Nuget Libs
• VT Xamarin Cross-
platfom Libs (Viettel)
13. Xamarin Studio
• Optimized for cross-
platform mobile
development
• Explore native APIs
with code completion
• World class Android
and iOS designers
• Powerful debugging on
simulator or device
14. Xamarin Component Store
• Productivity and Quicker
Time-to-Market
• Over 300 components,
ranging from 3rd party
libraries, enterprise
systems and cloud
services to barcode
scanning and signature
capture
• Add components to apps
with just a few lines of
code
directly in Visual Studio
and Xamarin Studio
15. Xamarin Nuget
• NuGet support in both
Xamarin Studio and
Visual Studio
• Access to a vast
ecosystem of 3rd
party libraries
• Distribute and
consume custom
components
• Easier to collaborate
with other Visual
Studio and Xamarin
Studio users
16. VT Xamarin Cross-platform Libs
Tập hợp các:
• Kiến trúc mẫu cho mobile app (VD: Master/Detail)
• Customized controls thường dùng (phone textbox, money
textbox, picker…)
• Giải quyết các issues tiêu biểu (API)
18. Triển khai Xamarin tại TTGVGP
• 15/10 - 6/11: Phòng KTCN ra đời version đầu tiên của
Xamarin Cross-platform Libs
• 30/10 - 5/11: Các BU nghiên cứu và viết ứng dụng đơn
giản về Xamarin
• 10/11: Phòng KTCN bàn giao Xamarin Cross-platform
Libs cho các BU qua SVN (source code và tài liệu)
• Triển khai vào thực tế