AngularJS: Tutorial: Part 1

Background

AngularJS is an open source framework, designed for the creation of enhanced web applications, created by Miško Hevery at Brat Tech LLC, and maintained by Google plus a community of developers and corporations. It implements most of the concepts behind all new standards on web components and model driven views. This framework is in the category of data binding frameworks.

You can create single page applications in which the page doesn’t required to reload, by using XML, JSON plus AJAX to fetch data, and without using server-side rendering. You follow a simple concept called Model-View-Controller in which the data taken care by the model (database, file, etc.), the view take cares of everything related with the interaction with the user, and the controller takes care of the communication between the model and the view. Another way to describe this concept is the idea that the model updates the view, the view display the information to the user, the user interact with the controller via the view, and the controller manipulates the model.

MVC-ConceptIt is important to indicate that AngularJS uses data binding which means that there is a synchronization between the model an the user interface. That, it implements routing, a way to handle updates by using URL hash fragments. Finally, by using templates and model, it allows for the dynamically creating and update of HTML.

Share

Example of Coding on haXe – Part 9


Warning: Illegal string offset 'delimiter' in /homepages/8/d126622285/htdocs/Websites/elblender/wordpress/wp-content/plugins/swfobject-reloaded/wp_swf_shortcode.php on line 123

Warning: Illegal string offset 'delimiter' in /homepages/8/d126622285/htdocs/Websites/elblender/wordpress/wp-content/plugins/swfobject-reloaded/wp_swf_shortcode.php on line 123

In this example you will see: TextField, TextFormat, TextFormatAlign.

NOTIFICATION: These examples are provided for educational purposes. Using this code is under your own responsibility and risk. The code is given ‘as is’. I do not take responsibilities of how they are used.

Actual Example:

Sorry, either Adobe flash is not installed or you do not have it enabled

Code example: Example_9.hx:

Share

Dealing with WebView for Android

In the application Cupid-4-Stupid that I and my partner David W. Corrigan developed, we notice that WebView stopped working properly.
When WebView stopped working as before, two important sections of our application were affected: Date Ideas and Panic Button.

I was getting exceptions such as NullPointerException produced by android.webkit.WebViewDatabase.getInstance() at WebViewDatabase.java.
After fixing this issue, we encounter other exceptions produced by CookieSyncManager.createInstance(Context) and more.

However, after doing some research, we managed to pin point the issue and fixed.

The following is a tutorial about how to create your own browser using WebView and make it work:
We assume that the browser is going to be an activity that will be called from another activity; however, that doesn’t mean that it cannot be your main activity if you wish.

Share

Groovy Tutorial – Part 1

NOTIFICATION: These examples are provided for educational purposes. Using this code is under your own responsibility and risk. The code is given ‘as is’. I do not take responsibilities of how they are used.

Note: If you are not interested to know about the differences between Groovy and Java, skip to part 2.

Groovy is a dynamic language (which means many behaviors are executed at runtime instead of during compilation) based on the Java Virtual machine. This means that Groovy is tightly integrated with the Java language.

The biggest differences between Groove and Java are:

Share

Notes: Operative Systems – Part 4

< Previous (Operative Systems – Part 3) | (Operative Systems – Part 5) Next >

NOTIFICATION: These notes are published for educational purposes. Using these notes is under your own responsibility and risk. These notes are given ‘as is’. I do not take responsibilities for how you use them.

PDF Content:

  • Relocation and protection (continued)
  • Swapping
  • Managing free memory
  • Virtual memory
  • Memory Management Unit (MMU)
  • Paging
  • Page table
  • Transaction Lookup Buffers (TLB)
  • Transaction Look-a-side Buffers (TLB)

Operative_Systems_4

Share