<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tuyến Vũ on Medium]]></title>
        <description><![CDATA[Stories by Tuyến Vũ on Medium]]></description>
        <link>https://medium.com/@tuyen-vuduc?source=rss-71f7199df876------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n1HFDGhhzSvWTgd8StBAJQ.jpeg</url>
            <title>Stories by Tuyến Vũ on Medium</title>
            <link>https://medium.com/@tuyen-vuduc?source=rss-71f7199df876------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 16:34:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tuyen-vuduc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SharedPreferences — Made easy with Kotlin generics & extensions]]></title>
            <link>https://medium.com/naxam-blogs/sharedpreferences-made-easy-with-kotlin-generics-extensions-6189d8902fb0?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/6189d8902fb0</guid>
            <category><![CDATA[kotlin-generics]]></category>
            <category><![CDATA[kotlin-extension]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[sharedpreferences]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 25 Mar 2018 04:59:29 GMT</pubDate>
            <atom:updated>2018-03-25T08:20:23.005Z</atom:updated>
            <content:encoded><![CDATA[<p>Being a C# developer for more than 6 years, I really loves its Generics and Extensions feature. I have looked for the same feature on Java while working on Android project, but it isn’t quite the same until I do Kotlin.</p><p>In this post, I would like to share how I leverage Kotlin <a href="https://kotlinlang.org/docs/reference/generics.html">Generics</a> and <a href="https://kotlinlang.org/docs/reference/extensions.html">Extensions</a> to simplify the way we work with SharedPreferences on Android.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EHTyM5YFn-G-9FGycMOihw.png" /></figure><h3>Default feature</h3><p>By default, SharedPreferences class provides us a lot of methods to work with different data types</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vTss7Az_LNebJw5qPclsNA.png" /></figure><p>I don’t really like this way because we have to use the right method for our preference based on its data type.</p><h3>Generics and Extensions approach</h3><blockquote>Generics — rescue us from defining multiple methods for multiple data types</blockquote><blockquote>Extensions — allows us to call static helper methods like instance methods</blockquote><p>Let’s use generics and extensionsto simplify SharedPreferences get/put methods.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c314e1bb0271a63462fcbb7253356f9/href">https://medium.com/media/2c314e1bb0271a63462fcbb7253356f9/href</a></iframe><p>That’s it, you now could work with SharedPreferences without remembering exactly getXXX/putXXX, just simply</p><pre>//To get a preference<br>val myPreference = sharedPreferences.get(&quot;my-preference&quot;, &quot;my default value&quot;)</pre><pre>//To save a preference<br>sharedPreferences.put(&quot;my-preference&quot;, &quot;my value&quot;)</pre><h3>Drawback</h3><p>The approach isn’t really optimal because we could accidentally put any data type to SharedPreferences, and the helper method doesn’t do anything in case data type doesn’t match the data type allowed to save to SharedPreferences.</p><p>It is abnormal, but might be the case. The simplest solution is to serialize non-support data type into string on saving, then deserialize on getting.</p><p>Hope the post will help you a little to simplify your way when working with SharedPreferences and know another use of Kotlin Extensions and Generics.</p><p><a href="https://naxam.net/">NAXAM - A Mobile Development Company</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6189d8902fb0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/naxam-blogs/sharedpreferences-made-easy-with-kotlin-generics-extensions-6189d8902fb0">SharedPreferences — Made easy with Kotlin generics &amp; extensions</a> was originally published in <a href="https://medium.com/naxam-blogs">naxam-blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptallet — a Xamarin.Forms dapp]]></title>
            <link>https://medium.com/naxam-blogs/cryptallet-a-xamarin-forms-dapp-912c706f0e1e?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/912c706f0e1e</guid>
            <category><![CDATA[xamarin-forms]]></category>
            <category><![CDATA[xamarin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[prism]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Tue, 16 Jan 2018 07:24:54 GMT</pubDate>
            <atom:updated>2018-01-16T07:31:26.672Z</atom:updated>
            <content:encoded><![CDATA[<p>Cryptallet is a simple Xamarin.Forms decentralized application built for working with Ethereum blockchain. It provides simple, yet essential features</p><ul><li>Unlock an Ethereum with a PIN</li><li>Send some Ethereum tokens to other via his/her account address</li><li>Display transaction history for your token</li><li>Support QR code for displaying and scanning</li></ul><h3>Technology Stack</h3><ul><li>Prism Library v7</li><li>NEthereum v2</li><li>ZXing.Net for Xamarin.Forms v2</li><li>SecureStorage v2</li><li>Xamarin.Forms v2.5</li><li>.NET Standard 2.0</li></ul><h3>Screenshots</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*6_XBzzzuRp8Lj5Dnqg3Iug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*QcWbEOyE0hG1Sg7o5oAFag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*KCzipPJl-eubwTE84jIYJg.png" /></figure><h3>Wrap up</h3><p>The application is very simple to demonstrate not only about working with Etheruem using NEthereum library but also about working with Prism library and its modularity feature. The code is open sourced and available on NAXAM github repository <a href="https://github.com/NAXAM/cryptallet-xamarin-forms">here</a>.</p><p><a href="https://naxam.net/">NAXAM</a> is a mobile development agency from Hanoi, Vietnam. We are specializing in developing mobile application as well as its counterparts.</p><p>Looking for developers to build your app, <a href="/service/mailto:tuyen@naxam.net">contact us</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=912c706f0e1e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/naxam-blogs/cryptallet-a-xamarin-forms-dapp-912c706f0e1e">Cryptallet — a Xamarin.Forms dapp</a> was originally published in <a href="https://medium.com/naxam-blogs">naxam-blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure nuget package sources for your project]]></title>
            <link>https://medium.com/naxam-blogs/configure-nuget-package-sources-for-your-project-cd8b96397360?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd8b96397360</guid>
            <category><![CDATA[nuget-cli]]></category>
            <category><![CDATA[nuget-configuration]]></category>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[nuget]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 26 Nov 2017 17:59:52 GMT</pubDate>
            <atom:updated>2017-11-26T17:59:52.233Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UOhW_HrkujuqzPj45whdgQ.png" /><figcaption>VS Nuget Package Source Manager</figcaption></figure><h3><strong>Problem</strong></h3><p>As you might be verify familar with above snapshot: Visual Studio Nuget Package Sources UI, details could be found <a href="https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui">here</a>. It’s very easy to use, easy to work with. However, if you notice,</p><ol><li>It’s system-wide configuration, all configured package sources will be available to your every projects.</li><li>It’s machine specific configuration, all of your developers in a project must set up the same to work with packages correctly.</li><li>It’s only good for remote based package sources, your packages must be hosted somewhere to be fetched.</li><li>It might not work with your CI service</li></ol><p>What if you want</p><ul><li>package sources are configured as per project basis</li><li>package sources could be located either conventionally on developer machine or on remote server</li><li>package sources are configured automatically for your project without the developer care</li><li>package sources must be available for CI service</li></ul><h3>Solution</h3><p>It’s provided out-of-the-box by Microsoft, you just need to create a nuget.config file located in your project root folder with all package sources required by your project. This snippet is an example of how you could do it.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23242a101bc1bf05f428e17d12936fd3/href">https://medium.com/media/23242a101bc1bf05f428e17d12936fd3/href</a></iframe><p>In line 4, it specifies that there are packages for the current project located inside folder nugets within current folder.</p><p>In line 5, it specifies the package source from Syncfusion.</p><p>In line 6, it specifies a private package source requiring a credential to be provide. To achieve that, there is additional configuration inside packageSourceCredentials as you can see from line 12 to 16. If you want to use your enviroment variables or other advanced setup, plz read more details <a href="https://docs.microsoft.com/en-us/nuget/schema/nuget-config-file">here</a>.</p><p>You could create/edit this configuration file manually with either a text editor of choice or through Nuget CLI as details <a href="https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior">here</a>.</p><h3>Wrap up</h3><p>In this post, I have pointed out how you could configure package sources specifically to each of your projects. You could read more details about all elements of a nuget.config file <a href="https://docs.microsoft.com/en-us/nuget/schema/nuget-config-file">here</a>.</p><p>NUGET is the official package manager for .NET libraries, yet it is very powerful. It’s really useful and helpful to deliver your libraries across projects, teams and with the world. Please read it in details <a href="https://docs.microsoft.com/en-us/nuget/what-is-nuget">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd8b96397360" width="1" height="1" alt=""><hr><p><a href="https://medium.com/naxam-blogs/configure-nuget-package-sources-for-your-project-cd8b96397360">Configure nuget package sources for your project</a> was originally published in <a href="https://medium.com/naxam-blogs">naxam-blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Visual Studio for Mac] Sử dụng Code Snippets]]></title>
            <link>https://tuyen-vuduc.medium.com/visual-studio-for-mac-s%E1%BB%AD-d%E1%BB%A5ng-code-snippets-e1566bf2bdd9?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1566bf2bdd9</guid>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[code-template]]></category>
            <category><![CDATA[code-snippet]]></category>
            <category><![CDATA[code-newbie]]></category>
            <category><![CDATA[snippet]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 12 Nov 2017 17:41:37 GMT</pubDate>
            <atom:updated>2017-11-12T17:41:37.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*qyEEO0S7i75Kyf3YFURJhg.gif" /><figcaption>Using code snippets</figcaption></figure><p>Hẳn bạn thấy rất quen với hình ảnh ở trên. Đó là việc chúng ta đang sử dụng code snippets trong các trình IDE hiện nay, mà cụ thể ở đây là Visual Studio for Mac.</p><h3>Code snippets là gì?</h3><blockquote>Code snippets, often referred to as <em>code templates</em>, are useful for efficient programming as they allow the insertion and editing of pre-written blocks of code.</blockquote><p>Đó là định nghĩa về code snippets trên trang tài liệu của Microsoft, bạn có thể đọc chi tiết <a href="https://docs.microsoft.com/en-us/visualstudio/mac/snippets">ở đây</a>. Dịch nguyên văn như sau:</p><blockquote>Code snippets, thường hay nhắc tới là code templates (code mẫu), rất hữu ích cho lập tình hiệu quả vì chúng cho phép việc thêm/sửa những đoạn code đã được viết trước.</blockquote><h3>Code Snippets sẵn có trong Visual Studio for Mac</h3><p>Mặc định, Visual Studio for Mac đã chứa đựng rất nhiều code snippets mà chúng ta rất dễ bắt gặp và sử dụng, tuy nhiên có thể bạn không nhận ra hoặc không biết gọi tên nó. Dưới đây, tôi xin liệt kê một vài code snippets mà bạn có thể dễ gặp nhất</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wG7VOaYMTriLnZNABNIbJA.gif" /><figcaption>Tạo mới một hàm khởi tạo</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CuGXeYuYunbCiV5FVDgAKg.gif" /><figcaption>Tạo mới một automatic property</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5rAXlUWLNmXbR5yXU_zRA.gif" /><figcaption>Tạo mới một readonly property</figcaption></figure><p>Và còn rất nhiều những code snippets khác, các bạn có thể tìm thấy trong toolbox (hộp đồ) của Visual Studio for Mac.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0avJZ04nh4WpHO0Y44kDw.gif" /><figcaption>Tìm code snippets trong Toolbox</figcaption></figure><h3>Tạo mới code snippet</h3><p>Code snippet sẵn có đã giúp bạn code nhanh hơn rất nhiều các đoạn code hay gặp trong lập trình với C# rồi. Tuy nhiên, với mỗi dự án/framework cụ thể, bạn sẽ lại có những đoạn code mẫu riêng, và bạn hoàn toàn có thể tạo mới một code snippet mới một cách dễ dàng trong Visual Studio for Mac.</p><p>B1: Mở Preferences &gt; Code Snippets &gt; Add<br>B2: Điền các thông tin của snippet<br>- Shortcut: Tên cho snippet khi bạn code, nên ngắn và dễ nhớ, không chứa kĩ tự đặc biệt<br>- Group/Mine: Nên chọn theo ngôn ngữ mà code snippet của bạn hướng tới<br>- Description: Miêu tả ngắn về tác dụng của snippet<br>B3: Bạn có thể đặt tên các placeholder để sau đó có thể thay đổi khi sử dụng<br>- Các placeholder bắt đầu và kết thúc với dấu <strong>$</strong>: $type$ <br>- Các placeholder có thể được đặt trước giá trị mặc định<br>B4: Sử dụng<br>Chỉ cần gõ tên snippet của bạn là được rồi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAzKJDcrIDZpaw8RlNdVEw.gif" /><figcaption>Tạo mới code snippet</figcaption></figure><h3>Code snippets hay dùng trong MVVM</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2527a93c523356a3e21d08e851eefe1a/href">https://medium.com/media/2527a93c523356a3e21d08e851eefe1a/href</a></iframe><h3>Lời kết</h3><p>Code snippets là cực kì hữu dụng, tăng hiệu quả làm việc bằng việc giảm thời gian lặp những đoạn code hay dùng. Code snippets có ở mọi trình IDE cho ngôn ngữ của bạn, không chỉ riêng VSfM, vì vậy hãy thử tìm hiểu về tính năng này trong IDE của mình, nếu bạn chưa biết tới.</p><p>Be Happy &amp; Enjoy Coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1566bf2bdd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BottomTabbedPage — Bottom Navigation for Xamarin Forms on Android]]></title>
            <link>https://medium.com/naxam-blogs/bottomtabbedpage-bottom-navigation-for-xamarin-forms-on-android-325a1506e216?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/325a1506e216</guid>
            <category><![CDATA[bottomtabbedpage]]></category>
            <category><![CDATA[xamarin]]></category>
            <category><![CDATA[bottomnavigationview]]></category>
            <category><![CDATA[xamarin-forms]]></category>
            <category><![CDATA[xamarin-app-development]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 16 Jul 2017 15:16:49 GMT</pubDate>
            <atom:updated>2018-07-27T02:22:15.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_Jp3bhpo5otfQZl4DTiFQ.png" /></figure><h3>Problem</h3><p>By default, Xamarin.Forms on Android only supports TabbedPage where tabs are placed at the top of the page. Naxam is asked to show tabs at the bottom of the page with several customization options which couldn’t be made easily (if not say impossible) to existing BottomBarPage control from <a href="https://github.com/thrive-now/BottomNavigationBarXF">BottomNavigationBarXF</a> library.</p><h3><strong>Solution</strong></h3><p>After investigation, Naxam decided to create <strong>BottomTabbedPage</strong> and <strong>BottomTabbedRenderer</strong> to leverage <strong>BottomNavigationView</strong> for bottom nativation.</p><blockquote>You might already know that Google finally defines <a href="https://material.io/guidelines/components/bottom-navigation.html#bottom-navigation-behavior">a detail guideline</a> how to use bottom navigation appropriate and effectively inside their Material Design. Google also delivered a new widget, BottomNavigationView in its Design Support Library v25+, which you could learn how to you that new widget from <a href="https://medium.com/@hitherejoe/exploring-the-android-design-support-library-bottom-navigation-drawer-548de699e8e0">this post</a>.</blockquote><h4>Solution Finding</h4><p>Inspired by and based on <a href="https://github.com/thrive-now/BottomNavigationBarXF">BottomNavigationBarXF</a> and <a href="https://github.com/pocheshire/BottomNavigationBar">BottomNavigationBar</a> libraries, Naxam managed to create our own <strong>BottomTabbedPage</strong> and <strong>BottomTabbedRenderer</strong> with <strong>BottomNavigationView</strong> widget in place of BottomBar control.</p><p>However, <strong>BottomNavigationView</strong> is very limited from customization, so we had to incorporate another library, <a href="https://github.com/ittianyu/BottomNavigationViewEx">BottomNavigationViewEx</a>, which uses reflection to allow a lot of extra customization options to Google original widget. Finally, we created a very new <strong>BottomTabbedPage</strong> control with the power of customization options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*ATmEyvVywXowrQc9ZEvRFw.gif" /></figure><h4>Solution Usage</h4><p>Naxam BottomTabbedPage control is delivered as a NUGET package that you could easily install</p><pre>Install-Page Naxam.BottomTabbedPage</pre><p>You could use BottomTabbedPage in place of TabbedPage as normally without any additional modifications</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f64f3859c41a016255b6d9d29a6b9140/href">https://medium.com/media/f64f3859c41a016255b6d9d29a6b9140/href</a></iframe><p>BottomTabbedPage supports all features that BottomNavigationViewEx can, below are some highlights:</p><ul><li>Allow maximum of 5 tabs</li><li>Allow to define menu item spacing, menu item postion</li><li>Allow to define how menu item icon is loaded</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8615a588b87c0541bf0fcfbc85bcd39e/href">https://medium.com/media/8615a588b87c0541bf0fcfbc85bcd39e/href</a></iframe><p>UPDATE: By the latest version of Xamarin, we have to instantiate an instance of Mac</p><h3>Wraps up</h3><p>That’s it. We hope that BottomTabbedPage will help you to build more beautiful Android application following Material Design with control from Google.<br>The source code and sample demo could be found on <a href="https://github.com/naxam/bottomtabbedpage-xamarin-forms">Github</a>.</p><p>NAXAM is a mobile development agency from Hanoi, Vietnam. Reach us out if you need any consultation or development requests.</p><p><a href="https://naxam.net/">NAXAM - A Mobile Development Company</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=325a1506e216" width="1" height="1" alt=""><hr><p><a href="https://medium.com/naxam-blogs/bottomtabbedpage-bottom-navigation-for-xamarin-forms-on-android-325a1506e216">BottomTabbedPage — Bottom Navigation for Xamarin Forms on Android</a> was originally published in <a href="https://medium.com/naxam-blogs">naxam-blogs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Học Xamarin dễ quá?]]></title>
            <link>https://tuyen-vuduc.medium.com/h%E1%BB%8Dc-xamarin-d%E1%BB%85-qu%C3%A1-ca221bc64ebb?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca221bc64ebb</guid>
            <category><![CDATA[xamarin-app-development]]></category>
            <category><![CDATA[xamarin]]></category>
            <category><![CDATA[xamarin-university]]></category>
            <category><![CDATA[xamarin-development]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 05 Mar 2017 11:20:39 GMT</pubDate>
            <atom:updated>2018-01-13T03:39:17.288Z</atom:updated>
            <content:encoded><![CDATA[<p>Tôi có nói chuyện với rất nhiều bạn đã từng làm hoặc chưa từng làm di động, đều cảm thấy khó khăn khi muốn học và làm quen với Xamarin. Thậm chí, có những bạn rất nhiều năm kinh nghiệm với Android/iOS, cũng thấy ngại và không biết nên bắt đầu thế nào.</p><p>Lời khuyên của tôi cho các bạn đều là hãy tham gia một khóa học về Xamarin.Android, Xamarin.iOS, hoặc Xamarin.Forms, các bạn sẽ hiểu được Xamarin nhanh và hiệu quả nhất mà lại không bị ngợp thông tin.</p><p>Trong bài chia sẻ này, tôi sẽ liệt kê những khóa học/videos hay để các bạn có thể bắt đầu với Xamarin hoặc muốn xem lại kiến thức của mình về</p><h3>Xamairn.Xamarin University</h3><p>Xamarin University là một dịch vụ có phí của Xamarin giúp các lập trình viên có thể làm quen, học Xamarin một cách dễ dàng. Với mức phí $83.5 mỗi tháng thì không phải là quá đắt để học được những kiến thức giá trị không chỉ là lập trình ứng dụng di động với Xamarin mà cả với lập trình di động nói chung cho hai nền tảng Android và iOS. Tuy nhiên Xamarin vẫn hào phóng.</p><ul><li><strong>Self Learning Guides</strong>: Bạn có thể học tới 18/25 bài học trong chương trình Xamarin Certified Mobile Developer hoàn toànmiễn phí. Dù là các bài tự học và miễn phí, nhưng nội dung các bài học này được chuẩn bị cực kì cẩn thận và chi tiết vì chúng vẫn là một phần trong chương trình thi chứng chỉ của Xamarin.</li><li><strong>Guest Lectures</strong>: Đây là <a href="https://university.xamarin.com/guestlectures">các bài giảng hoàn toàn miễn phí</a>, bạn có thể sử dụng bất cứ lúc nào, tuy nhiên bạn chỉ nên xem chúng sau khi đã làm quen với Xamarin.</li><li><strong>Lightning Lectures</strong>: Đây là <a href="https://university.xamarin.com/lightninglectures">những chia sẻ ngắn, hoàn toàn miễn phí</a> về những thách thức mà rất có thể sẽ gặp trong quá trình phát triển ứng dụng di động nói chung và Xamarin nói riêng.</li></ul><h3>PluralSight</h3><p>PluralSight cung cấp rất đa dạng các khóa học cho lập trình viên, có thể nói trong mọi lĩnh vực, đặc biệt là các công nghệ của Microsoft, và Xamarin là một cái tên không thể bỏ qua. Tôi liệt kê 3 khóa học mà bạn nên xem khi muốn học về Xamarin tại PluralSight.</p><p>PluralSight là 1 dịch vụ có phí, tuy nhiên Microsoft có dành tặng bạn 3 tháng miễn phí. Nếu bạn chưa biết điều đó, <a href="https://medium.com/@tuyen_vuduc/3-th%C3%A1ng-mi%E1%BB%85n-ph%C3%AD-%C4%91%E1%BB%ABng-b%E1%BB%8F-qua-nh%C3%A9-6f81a8b615e0">vui lòng đọc bài viết này</a>.</p><h3>Kết bài</h3><p>Trên đây, tôi đã chia sẻ với các bạn những khóa học/video hay dành cho việc làm quen với Xamarin. Hi vọng sẽ giúp các bạn làm quen với Xamarin dễ dàng hơn.</p><p>Chúc học vui và thành công!</p><p><em>Originally published at </em><a href="https://vuductuyen.com/2017/03/05/hoc-xamarin-de-qua/"><em>vuductuyen.com</em></a><em> on March 5, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca221bc64ebb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 tháng miễn phí, đừng bỏ qua nhé.]]></title>
            <link>https://tuyen-vuduc.medium.com/3-th%C3%A1ng-mi%E1%BB%85n-ph%C3%AD-%C4%91%E1%BB%ABng-b%E1%BB%8F-qua-nh%C3%A9-6f81a8b615e0?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f81a8b615e0</guid>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[dev-essentials]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 05 Mar 2017 10:30:06 GMT</pubDate>
            <atom:updated>2018-01-13T03:37:39.530Z</atom:updated>
            <content:encoded><![CDATA[<p>Có thể bạn chưa đọc bài <a href="https://medium.com/@tuyen_vuduc/visual-studio-dev-essentials-l%C3%A0-g%C3%AC-e57b9ef2b2a4">Visual Studio Dev Essentials là gì</a>, nhưng không sao, ở bài viết này tôi sẽ chỉ cho bạn 2 bước để có được 3 tháng miễn phí học tại PluralSight, một trang học trực tuyến rất tốt cho lập trình viên.</p><h3>Bước 1: Đăng nhập với tài khoản Microsoft</h3><p>Cái này rất là đơn giản, bạn chỉ cần truy cập vào địa chỉ <a href="https://visualstudio.com/">visualstudio.com</a> và sau đó nhấn <strong>Sign in</strong> ở góc phía trên bên phải<strong>.</strong></p><p>Bạn sẽ được chuyển qua trang đăng nhập vào tài khoản Microsoft như hình dưới đây.</p><p>Nếu bạn chưa có tài khoản Microsoft, đơn giản là đăng kí một tài khoản mới sử dụng địa chỉ email đã có hoặc sử dụng email OUTLOOK.COM của Microsoft như hình dưới đây.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/0*XI1x-AHJX17XpyTk." /></figure><p>Như vậy là đã xong, sau khi quá trình đăng nhập/đăng kí thành công, bạn sẽ được chuyển về trang cá nhân của bạn tại visualstudio.com. Tại đây, bạn sẽ thấy <strong>My Benefits</strong> những quyền lời mà Microsoft dành tặng bạn.</p><h3>Bước 2: Lấy mã kích hoạt nào</h3><p>Từ trang cá nhân của bạn, hãy nhấn vào đường dẫn <strong>My Benefits</strong> hoặc <strong>User your benefits</strong>, bạn sẽ được chuyển tới trang danh sách những lợi ích mà Microsoft dành tặng bạn.</p><p>Tuyệt vời! Kéo xuống một chút thôi, bạn sẽ thấy <strong>PLURALSIGHT</strong> nằm trong danh mục <strong>Education</strong>.</p><p>Nhấn vào đường dẫn <strong>Get code</strong> luôn và ngay nào, bạn sẽ được chuyển qua trang của PluralSight để kích hoạt 3 tháng sử dụng miễn phí dành cho bạn.</p><h3>XONG!</h3><p>Trong bài viết này, tôi vừa hướng dẫn bạn các bước để kích hoạt sử dụng 3 tháng miễn phí sử dụng PluralSight, một lợi ích dành của lập trình viên trong chương trình Visual Studio Dev Essentials của Microsoft. Bên cạnh PluralSight, còn nhiều dịch vụ học trực tuyến khác cũng nằm trong chương trình này, hãy tận dụng để nâng cao kiến thức và kĩ năng của bạn nhé.</p><p>Chúc học vui và thành công!</p><p><em>Originally published at </em><a href="https://vuductuyen.com/2017/03/05/3-thang-mien-phi-dung-bo-qua-nhe/"><em>vuductuyen.com</em></a><em> on March 5, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f81a8b615e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual Studio Dev Essentials là gì?]]></title>
            <link>https://tuyen-vuduc.medium.com/visual-studio-dev-essentials-l%C3%A0-g%C3%AC-e57b9ef2b2a4?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/e57b9ef2b2a4</guid>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[dev-essentials]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Fri, 17 Feb 2017 16:32:28 GMT</pubDate>
            <atom:updated>2018-01-13T03:36:17.075Z</atom:updated>
            <content:encoded><![CDATA[<p>Trong những lần phỏng vấn và những lần tán gẫu cùng bạn bè gần đây, tôi thường giới thiệu tới <a href="https://www.pluralsight.com/">PluralSight</a> để tìm kiếm khóa học. Thực sự mà nói, tôi chẳng được đồng thù lao nào từ họ cả, nhưng nhận thấy những khóa học ở <a href="https://www.pluralsight.com/">PluraSight</a> thực sự tốt và hữu ích nên chia sẻ vậy.</p><p>Ohh, có vẻ tốt quá nhỉ, nhưng <a href="https://www.pluralsight.com/">PluralSight</a> không miễn phí, các bạn của tôi băn khoăn… Các bạn ấy chưa/không muốn trả tiền này, làm thế nào đây? Không chỉ các khóa học là mất phí, phần lớn các công cụ, hệ thống dùng trong quá trình phát triển phần mềm đều là mất phí, làm sao mỗi cá nhân có thể tiếp cận để nâng cao kiến thức, tích lũy kinh nghiệm. Dùng phần mềm bẻ khóa ư? Thực sự không cần thiết, vì đã có chương trình <a href="https://www.visualstudio.com/dev-essentials/">Visual Studio Dev Essentials</a> chính là lời giản cho những vấn đề trên.</p><p>VS Dev Essentials là một chương trình của Microsoft nhằm cung cấp cho lập trình viên/sinh viên CNTT trên khắp thế giới những <strong>công cụ phát triển</strong>, các <strong>dịch vụ trên mây</strong> và <strong>đào tạo</strong> hoàn toàn MIỄN PHÍ.</p><h3>Những khóa học chất lượng</h3><p>Trong chương trình này, lập trình viên/sinh viên CNTT có cơ hội tiếp cận những khóa học từ những nhà cung cấp có uy tín trên thế giới, cụ thể như sau:</p><ul><li>Pluralsight: 3 THÁNG sử dụng miễn phí</li><li>Xamarin University: Được chọn các khóa trong chương trình học lấy chứng chỉ của XAMARIN</li><li>WintellectNOW: 3 THÁNG miễn phí</li><li>Linux Academyl: 3 THÁNG miễn phí</li><li>Microsoft Virtual Academy: Hoàn toàn miễn phí</li><li>Priority Forum Support</li></ul><h3>Công cụ phát triển</h3><p>Không phải giới thiệu, thì Microsoft cung cấp cho lập trình viên rất nhiều công cụ để hoàn thành công việc của mình trên hầu hết các nền tảng Windows, MacOS, Linux. Đặc biệt là chúng hoàn toàn miễn phí nhưng chất lượng thì không tồi chút nào:</p><ul><li>Visual Studio Community: IDE tốt nhất dành cho phát triển ứng dụng với C# trên Windows</li><li>Visudal Studio Code: Là một IDE mới, nhưng rất phổ biến trong cộng đồng phát triển web, chạy trên cả Windows, MacOS, Linux</li><li>Xamarin Stuio: IDE tốt nhất cho phát triển ứng dụng với C# trên MacOS</li></ul><p>Ngoài các khóa học và công cụ chất lượng như kể trên, còn các dịch vụ trên mây và phần mềm chất lượng khác nữa, mà các bạn có thể thấy một danh sách rất dài sau khi đăng kí xong như <a href="https://my.visualstudio.com/Benefits?wt.mc_id=o~msft~vscom~devessentials-hero~mt689&amp;campaign=o~msft~vscom~devessentials-hero~mt689">tại đây</a>.</p><p>Chương chình là hoàn toàn miễn phí, nhưng hãy sử dụng nó một cách hiệu quả để giúp bạn nâng cao kiến thức và kĩ năng của chính bạn.</p><p>HAPPY LEARNING, HAPPY LIFE!</p><p><em>Originally published at </em><a href="https://vuductuyen.com/2017/02/17/visual-studio-dev-essentials-la-gi/"><em>vuductuyen.com</em></a><em> on February 17, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e57b9ef2b2a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile Development Learning Resources]]></title>
            <link>https://tuyen-vuduc.medium.com/mobile-development-learning-resources-4951f53a3fda?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/4951f53a3fda</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Sun, 21 Aug 2016 17:01:37 GMT</pubDate>
            <atom:updated>2018-01-13T03:43:40.495Z</atom:updated>
            <content:encoded><![CDATA[<p>Following my post on <a href="https://medium.com/@tuyen_vuduc/mobile-app-development-approaches-fc7dbda4bcaf">approaches for mobile development</a>, I would like to recommend about the resources to get involved in mobile development.</p><h3>Online courses</h3><p>The resource, I strongly recommend any ones to look at first when learning new things , is to look for <a href="https://en.wikipedia.org/wiki/Massive_open_online_course">MOOC</a> courses which are almost <strong>FREE</strong> and very very easy to find via online training websites:</p><ul><li><a href="https://www.udemy.com/">Udemy</a></li><li><a href="https://www.coursera.org/">Coursera</a></li><li><a href="https://www.pluralsight.com/">Plurasight</a></li><li><a href="https://www.edx.org/">Edx</a></li></ul><p>WHY I recommend online courses? In my opinion, to learn fast and efficient, we should look for a teacher who could help us to outline the most BASIC but IMPORTANT topics as well as PRIORITIZE those topics for us, so we could know the big picture. Online courses are the most easy and cheapest way to find a good teacher all around the world.</p><p><strong>DON’T</strong> go straight to read developer sites and/or other blog posts for your desired topics at first. The developer sites contain too much information for you as newbies to get started. The blogs aren’t always for learning, they are better for enhancing your knowledges.</p><p>For above online sites, there aren’t not many free courses on PluralSight, but thanks to Microsoft. Microsoft give us <a href="https://www.visualstudio.com/en-us/products/visual-studio-dev-essentials-vs.aspx">Visual Studio Dev Essentials</a> program for any developers with a lot of benefits, one of them are 3 months free of PluralSights with all paid courses. Other online sites provide a wide range of free and online courses for you to choose.</p><h3>Books</h3><p>This is the second resource I recommend you to look at after finishing your chosen courses and practicing what you learn.</p><p>Books provide us more details BUT enough about the topics we learn and give us some good practices and experiences of the author(s) which are really good for completing our job(s).</p><p>If you learn a course as I said above, the teacher will recommend your the books he/she prefers. Here are some books I prefer on learning iOS and Android:</p><h3>Developer sites</h3><p>The third important resource you must look at and always keep references for even more details are <a href="https://developer.apple.com/">Apple Developer site</a> and <a href="https://developer.android.com/index.html">Android Developer site</a>. It is a MUST to make you a world-class developer on your chosen topic.</p><h3>Google &amp; Blogs</h3><p>The last resource is Google and Blogs. They are to enhance your skills, improve your knowledge on advanced topics and best practices, or to solve your rarely facing issues.</p><h3>Conclusion</h3><p>To be good mobile developers, we also need to be aware about how to make a great app with attractive UI and perfect UX. I will share resources about those topics in another post.</p><p><em>Originally published at </em><a href="https://vuductuyen.com/2016/08/22/mobile-development-learning-resources/"><em>vuductuyen.com</em></a><em> on August 21, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4951f53a3fda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile App Development Approaches]]></title>
            <link>https://tuyen-vuduc.medium.com/mobile-app-development-approaches-fc7dbda4bcaf?source=rss-71f7199df876------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc7dbda4bcaf</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[cordova]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[xamarin]]></category>
            <dc:creator><![CDATA[Tuyến Vũ]]></dc:creator>
            <pubDate>Fri, 19 Aug 2016 17:38:42 GMT</pubDate>
            <atom:updated>2018-01-13T03:44:16.003Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I would like to list out the approaches I experienced with so far when building applications for Android and iOS. It could be said as the transcript of my presentation at FPT Software with slides shared <a href="http://www.slideshare.net/VTuyn/mobile-app-development-101">here</a>.</p><h3>Native</h3><pre>What does it mean <strong>native</strong>?</pre><p><strong>Native</strong> is to indicate that we build up applications for targeted platform using programming languages, IDE and desktop OS based on what are provided/stated originally by platform provider. So.</p><p>If we want to develop iOS applications, we will use</p><ul><li>Swift or Objective-C as programming language</li><li>XCode as IDE</li><li>Mac OS as desktop operating system</li></ul><p>If we want to develop Android applications, we will use</p><ul><li>Java as programming language</li><li>Android Studio as IDE</li><li><em>“Any”</em> desktop OS</li></ul><p>For each platform, there are also dedicated documentation developer sites so we could learn and build up our skills to build the world-class application:</p><ul><li>iOS: <a href="https://developer.apple.com/library/ios/navigation/">https://developer.apple.com/library/ios/navigation/</a></li><li>Android: <a href="https://developer.android.com/">https://developer.android.com/</a></li></ul><p>Because of using different programming languages, different IDE, (maybe) different desktop OSes, to develop an application for both platforms (Android, iOS), actually we build up two totally different applications serving the same business. For the best performance and quality of the application, we might need two totally separated teams, one for Android, one for iOS. It might increase our cost to develop the app.</p><p><em>WHO should go this way</em>? You are a newbie in programming. You want to become a mobile developer, this way is the most suitable approach.</p><h3>Cordova</h3><blockquote><a href="https://cordova.apache.org/"><em>Apache Cordova</em></a><em> is an open-source mobile development framework. It allows you to use standard web technologies — HTML5, CSS3, and JavaScript for cross-platform development. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device’s capabilities such as sensors, data, network status, etc.</em></blockquote><p>The above quote says all Cordova. The idea of Cordova comes from the native support of Android and iOS for displaying a web page inside the application using an UI control, WebView — Android, UIWebView (WKWebView) — iOS.</p><p>With this approach, the main and core business of our application could be totally built using HTML/CSS and JavaScript with 100% code shared. However, for some very specific requirements, we might need to use Cordova plugins to access platform features like Camera, Photos, etc. At that time, we also might need native experience if the plugin isn’t provided out-of-the-box.</p><p>Because of using HTML/CSS and JavaScript, we have to pay for the performance and the user experience of the app. The app looks the same on both platform. The HTM/CSS rendering in the web view isn’t very well as native controls, especially when the app UI is complex and requires high responsiveness. The communication between JavaScript and native features also impacts a lot to the app performance.</p><p><em>WHO</em> should go this way? You are a web developer with every well skills on HTML/CSS and JavaScript. It is very worth to build the application using Cordova to leverage your skills without learning from the scratch. In most case, Cordova is affordable to use before we reach the performance limit.</p><h3>Xamarin</h3><pre>Anything you can do in Objective-C, Swift or Java, you can do in C#.</pre><p><a href="https://www.xamarin.com/platform">Xamarin</a> is a platform and tool which allows us to use C# as a single programming language, Xamarin Studio as a single IDE to develop Android or iOS application.</p><p>Because of using single programming language, we could share 100% of our business logic, and from 70%-90% of UI part. The great point is we don’t need to switch to native language to extend and customize platform specific features. Additionally, we could leverage existing native libraries through Xamarin binding libraries, so it saves a lot of effort. One feature that can’t be skipped is Xamarin.Form which helps us to share up to 90% of the code because Xamarin.Forms allows us to build a unified API for UI controls.</p><p>Anything comes with its downside. With Xamarin, our application has bigger weight, the performance is nearly native, not 100% (for most of application, it’s very suitable). Sometime, digging into issue with platform isn’t very easily because the underlying error isn’t reported straight forward from Xamarin.</p><p>WHO should go this way? You are a C# developer, it couldn’t be more suitable. You are newbie, it’s a very good choice to start.</p><h3>React Native</h3><blockquote><a href="https://facebook.github.io/react-native/"><em>React Native</em></a><em> lets you build mobile apps using only JavaScript.</em></blockquote><p>Both Android and iOS come with their own great JavaScript engines where we could execute just any JavaScript code. BUT JavaScript engine doesn’t do anything with UI??</p><p>ReactNative fixes that gap by providing APIs to allow us to build up the native UI by using JavaScript code. It somethings looks Cordova like, but it totally different. In Cordova, app’s UI is built on HTML/CSS and JavaScript, we access native features through APIs, but in ReactNative, it’s truly native, just it’s not composed natively, JavaScript instead. In my view, ReactNative is a competitor of Xamarin.Forms.</p><p>It looks great. We don’t have to pay for that much extra for an “engine” like Xamarin, we still have native UI. WHAT the downside? Tools aren’t good as of Xamarin. Our team must be good at both JavaScript and native languages in order to deliver the great app.</p><p>WHO should go this way? You are good at JavaScript, you want to build most of your app using JavaScript and willing to learn native languages. It’s your choice.</p><h3>Conclusion</h3><p>In this post, I did outline 4 approaches on mobile development. I also analyzed a bit on pros and cons of each approach. Hope it will help you to choose the right approach for your project. For resources to get started, please read my post about <a href="https://medium.com/@tuyen_vuduc/mobile-development-learning-resources-4951f53a3fda">Mobile Development Learning Resources</a>.</p><pre>It is better to read a long side with my slides.</pre><p><em>Originally published at </em><a href="https://vuductuyen.com/2016/08/20/mobile-app-development-approaches/"><em>vuductuyen.com</em></a><em> on August 19, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc7dbda4bcaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>