Angular 2 is not Server Side Technology.
Yesterday, I went to Angular hackday in Brisbane.That is very good and informative. I learned a lot. However, a lot of people asked how do I bind the data object to an angular page. I think that is a good question. I asked myself before; we can do similar action in asp.net MVC. Angular 2 required being compiled into a package to be browser It looks more similar to a server script that a javascript framework.
Angular 2 is an MVVM framework. It only deals with ViewModel. This design is completely separated to be view logic from the server, put them in the browser. The application logic is in the service layer where connects to database. Angular two will run on Browser. Between those two layers will communicate by JSON. The architecture showed in the diagram.
You need to learn native mobile application development
I love Xamarin, which a cross platforms mobile development framework. I can use C# to build apps for iOS, Android, and Windows. However, it doesn't mean I can get away from learning Android and iOS development. Using Xamarin is not always the best option. If we know the native platform, that should be more flexible. For example, an app only planned in running for a single platform, that may be a better choice to be built in native or if the app is too complex or memory critical, I suggest that should be constructed in native. That is a better way to utilize the resources.
[Xamarin] Error: AppData\Local\Xamarin\[packages]\[version]\class.jar missing
After I had installed a new component in my Xamarin project, I got an error like that: C:\Users\[username]\ AppData\Local\Xamarin\[packages]\[version]\class.jar missing.
I found the problems are caused the downloading packages are failed before. The Xamarin is not smart enough to re-download automatic.
The solution is simply. I only need to delete all zip files under Error: C:\Users\[username]\AppData\Local\Xamarin\zips and the package folder in the error message. Then I need to rebuild the project. The packages will be download again. The project will build successfully.
[Xamarin] Map not showing in Navigation Page
I am building an app with a map component. I put the Map Control on a navigation page. But I put this code on the button click event.
Code
MapPageXaml page = new MapPage(model); | |
Navigation.PushAsync(page); |
After the button is clicked, nothing happened. No Errors message at all.
I found out the problems is in Key. I need to re-create the key. I need to follow the steps by steps in this page.
Then that is working
I upgraded this blog to b2evolution 6.7.7
I have upgraded this blog to b2evolution 6.7.7. I found that is great, the backend is more beautiful and clean too. I found the color scheme too. One thing is good to b2evolution comparing with other blog platforms; that is a very standalone platform which got most functions you need. If you just need it to do blogging, then that is perfect, you do not need to install a single plugin. But the downside, you cannot use it for another purpose. Well, I just need this blog to do blogging. That is good enough. By the way, I installed a responsive skin too. I found that is the best way to get more traffic. Now, Google will downgrade the ranking if any websites are not mobile friendly.