Select Page

Category: Web Development

Code a Widget for Android: Input and Display

Since Android 1.5, application widgets have enabled users to get information, control apps, and perform crucial tasks, all from the comfort of their homescreens. In this two-part series, I’ll be showing you how to provide a better user experience by adding an application widget to your Android projects. By the end of the series, you’ll have created a widget that: Displays multiple sets of data. Performs a unique action when the user interacts with a specific View within that widget’s layout. Updates automatically whenever a set period of time has elapsed. Updates with new data in response to user...

Read More

Introduction to Mocking in Python

Mocking is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. This tutorial will discuss in detail what mocking is and how to use it in Python applications. What Is Mocking? Mocking is a library for testing in Python which allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. In Python, mocking is accomplished by replacing parts of your system with mock objects using the unittest.mock...

Read More

Creating a Blogging App Using Angular & MongoDB: Show Post

In the last part of the tutorial series, you saw how to write the REST API endpoint for user login. You used Mongoose to interact with MongoDB from Node. After successful validation, you saw how to use Angular Router for navigating to the HomeComponent. In this part of the tutorial series, you’ll create a component to list the blog post details on the home page. Getting Started Let’s get started by cloning the source code from the last part of the tutorial series. git clone https://github.com/royagasthyan/AngularBlogApp-Home AngularBlogApp-Post Navigate to the project directory and install the required dependencies. cd AngularBlogApp-Post/client npm install...

Read More

Creating a Blogging App Using Angular & MongoDB: Home

In the first part of the tutorial series, you saw how to get started with creating an Angular web app. You learnt how to set up the application and created the Login component. In this part of the series, you’ll move further and write down the REST API required for interacting with the MongoDB bank end. You’ll also create the Home component which will be displayed after the user has logged in successfully. Getting Started Let’s get started by cloning the source code from the first part of the tutorial series. git clone https://github.com/royagasthyan/AngularBlogApp-Login AngularBlogApp-Home Navigate to the project...

Read More

Phoenix I18n

In my previous articles I covered the various aspects of Elixir—a modern functional programming language. Today, however, I would like to step aside from the language itself and discuss a very fast and reliable MVC framework called Phoenix that is written in Elixir. This framework emerged nearly five years ago and has received some traction since then. Of course, it is not as popular as Rails or Django yet, but it does have great potential and I really like it. In this article we are going to see how to introduce I18n in Phoenix applications. What is I18n, you ask? Well, it is a numeronym that means...

Read More
www.000webhost.com