Photo by Ian Battaglia on Unsplash

What is a server?

A server is basically a computer designed to run 24/7 and provide service to other people on a network.

If you are using the internet it means you already interacting with a number of servers.

e.g. Web servers that send you web pages, mail servers for communication, file servers to store your files, game servers for entertainment, and so on…

The problem with servers is that they’re not flexible. Hosting your own website on your own server is good but only for limited visitors makes your server idle most of the time. This is called over-provisioning when you’re paying for…


Description : Coding in function alienLanguage, function accept 1 parameter:str. Herestr is a sentence.

We translate the sentence into an alien language according to the following rules:

Each word in the sentence is separated by spaces. The last letter of each word in the sentence turns to lowercase, and the other letters are capitalized. Looks very strange? Because this is the form of alien language ;-)

for example:

alienLanguage("My name is John") should return "My NAMe Is JOHn"
alienLanguage("this is an example") should return "THIs Is An EXAMPLe"
alienLanguage("Hello World") should return "HELLo WORLd"

Solution for string "My name is…


At the time of developing sever-side application first question comes in mind about architecture of software.

What is an architecture?

Software architecture is fundamental structure for application and a way of design your system.

Monolithic

is a set up used for traditional server side system function which is based on a single application. Monolithic architecture is tightly coupled system.

Advantages of Monolithic Architecture:

In the early stage of software development monolithic architecture works well.

  1. It is faster to develop.
  2. All things wrap together in same code base so co-ordination between different functionalities get easier.
  3. Easy to deploy. Just need to…


A must to have .NET Developers tool.

Recently came across NDepend, static code analysis tool that impressed me with its rich feature and strong emphasis on visual presentation of code architecture and quality.

What is static code Analysis ?

A static code analysis is methodology used to examine the software program without actually running it. This is achieved by analyzing a set of code against set of rules. It helps in early detection of code issue and ensure code quality without adding technical debts.

NDepend Overview

A static code analyzer specifically designed for .NET managed code with excellent visual reporting, supporting tons of code metrics.

A comprehensive dashboard is generated in few seconds providing in-depth…


Cloud Firestore is a NoSQL structured database hosted on cloud and provide enough flexibility and scalability. Cloud Firestore currently has scaling limit around 1 million concurrent connections and approximately 10K operations/sec. It has Collections, documents, fields. On the other side real-time database is giant JSON tree. Data is stored in JSON format.

Using Cloud Firestore in your App.

pre-requisite: Connect existing Flutter app to firebase. if need any details, please refer Quick set up- Integrating Flutter App with Firebase

Step 1: In you Firebase account, choose your project that you want to continue.

Step 2: In left pane, you would…


Flutter and Firebase works together to help you to build mobile applications in record time. Flutter is Google’s SDK for creating mobile apps for iOS and Android device. Firebase works as a backend for mobile apps. It gives you facilities like authentication, database, storage, hosing and many more without maintaining your own server.

Prerequisite : Existing flutter app in which user want to integrate firebase, If yes then start follow from step 2. Otherwise,

Step 1. Create new flutter project in Android Studio


Dart is an open-source general-purpose programming language developed by Google. Dart is an object-oriented language with C-style syntax.

Main target of Dart is to develop flutter applications. As Dart is object-oriented programming language it supports interfaces, classes, collections, generics etc.

You can execute dart program by using online editor at https://dartpad.dartlang.org/


In situations, where instructions needs to be executed based on certain conditions, these conditional statements are known as decision making statement.

There are 4 types of decision making statements available in dart:

  1. if Statement
  2. if….else Statement
  3. else if Ladder
  4. switch…case Statement

Let’s see in detail:

  1. if Statement

it evaluates the condition and execute block of code, if condition is true

Syntax:

if(condition){

//block of code

}

//Next instruction

condition in if statement always return boolean value true/false.

If condition result is true then block of instruction is executed and then next instruction after if block.

And if condition result is…


Let’s see how to design login form and validate it in flutter.

To get a form in our Scaffold widget, we have to use Form widget

@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text("Login Page"),
),
body: SingleChildScrollView(
child: Form()
),
);
}

This will return nothing rather than the error messages. Form widget here is just a container for form.

To implement validation using Form() , we need global key that is going to tell us about any change in Form() widget.

For that just declare,
GlobalKey formkey = GlobalKey();
but since it is related to…


listView_demo

Listing is an important feature in mobile application development. Many times we need to design list of items that can be scrolled. ListView widget allows to create scrollable list.

Let’s understand ListView with small recipe app :

recipeList is list of objects of class Recipe

class Recipe {
String name;
String image;
String ingredients;
String recipe;

Recipe({this.image, this.name, this.ingredients, this.recipe});
}

List<Recipe> recipeList = [
Recipe(....),
Recipe(....),
Recipe(....),
Recipe(....),
Recipe(....),
Recipe(....),
Recipe(....),
Recipe(....),
];

To create a ListView, constructor of ListView widget is used.

ListView widget has 4 constructors

  1. ListView

This is a default constructor. This default constructor is used…

Yogita Kumar

Full Stack | .NET Developer | Flutter Expert | Cloud Enthusiast | Coach and Trainer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store