Tuesday, 10 May 2022

Web Development

Web development: - Web development define as creating, building, and maintaining websites. It includes aspects such as web design, web publishing, web programming, and database management. It is the creation of an application that works over the internet i.e. websites.

Web development is classified into two categories.

Frontend development: - The frontend developer builds the front part of the website and the applications that the user interacts with directly are termed as front-end. It is also referred to as the client-side of the websites/application.

For building the front end portion use the following language: - 

·      HTML: - HTML stands for Hypertext Markup Language. It is the code that is used to structure a web page and its content. HTML code ensures the proper formatting of text and images for your Internet browser. Without HTML, a browser would not know how to display text as elements or load images or other elements. HTML also provides a basic structure of the page.

·     CSS: - CSS stands for Cascading Style Sheets. CSS is a style sheet language used for describing the presentation of a document written in a Markup language such as HTML.

·    JavaScript: - JavaScript is the world’s most popular programming language. JavaScript is used by programmers across the world to create dynamic and interactive web content like applications and browsers.

Backend Development: - The backend is defined as parts of a computer application or a program’s code that allow it to operate and that cannot be accessed by a user. Most data and operating syntax are stored and accessed in the back end of a computer system.

For building the Back end portion use the following language: -

·    Python: - Python is the most popular language that lets you work quickly and integrate systems more efficiently.

·    Ruby: - Ruby is mostly used for building a web application. It is dynamic, reflective, object-oriented, and a general-purpose language. Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto.

·   PHP: - PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. it is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

·    Node.js: - Node.js is a cross-platform, open-source server environment for executing JavaScript code outside a browser.

·  DBMS: - DBMS stands for Database Management System. It is software that is used to manage the database. 

Saturday, 7 May 2022

What is EC2 instance in AWS Cloud?

 What is Amazon EC2 in AWS Cloud?

Amazon EC2 stands for Amazon Elastic Compute Cloud which offers various types EC2 instances to run your workload. An Amazon EC2 instance in AWS is a cloud based Virtual Machine where you install and run your applications/services. This is one of the most popular offering of AWS Cloud, and this is part of Infrastructure as a service on AWS.

There are various types of instances types that Amazon EC2 offers (e.g. General Purpose, Compute Optimized, Memory Optimized, Storage Optimized etc...), each Instance types can have various families (e.g. Mac, T4g, T2, T3 M5 etc..), and each families may have various instances sizes that allows you to choose the right capacity of the EC2 instance to run your workload as per the business requirement.

Unlike traditional virtual machines, the computing capacity of EC2 instances are scalable without investing in buying additional capacity of hardware. This is one of the major advantage of EC2 instances which makes it easily adoptable for almost all business type users or consumers.

Cheers! Please write me back if you have any queries or suggestions.

Wednesday, 4 May 2022

Introduction to Web Technology

Web technologies define the way computers communicate with each other using markup languages. It communicates across the web and creates, delivers, or manages web content using a hypertext markup language (HTML).

Web technology can classify into the following terminology.

·       World Wide Web (WWW): - World Wide Web is a Hypertext-based information system like a Web browser, Hypertext markup language (HTML), and Hypertext Transfer Protocol (HTTP).

·       Web page: - A Webpage is a digital document that is linked to the World Wide Web and displayed on a web browser such as Google Chrome, Firefox, Opera, and safari.

·       Web Browser: - A Web browser takes you anywhere on the internet. It is a software application to explore the WWW (World Wide Web). And it also provides an interface between the server and the client and requests the server for the web document and services.

·       Web server: - A web server is important for running websites on a computer. It is a program that processes the network request of the user and serves them with files that create a web page.

·       Web development: - Web development refers to creating, building, and maintaining websites. It includes aspects such as web design, web publishing, web programming, and database management. It is the creation of an application that works over the internet i.e. websites.

·       URL: - URL stands for Uniform Resource Locator. A URL is an address of the given unique resource on the Web. each valid URL points to a unique resource. Such resources can be an HTML page, a CSS document, an image, etc.

·       Gateway: - The gateway is a method to Internet Service Provider that gives you access to the entire Internet. For a basic internet connection at home.

·       API: -  A web API is an Application Programming Interface for either a web server or a web browser.

·       XML: -  XML stands for Extensible Markup Language. It is a markup language such as HTML and is designed to store and transport data.


There are two types of webpages

Static webpage: - Static pages show the same content each time they are viewed. It is built using HTML code and features the same presentation and content, regardless of user identity or other factors.

o   Easy to build using HTML and CSS.

o   Cheap to host.

o   It has fixed content.

Dynamic webpage: - Dynamic pages have content that can change each time they are accessed. Or, A dynamic page displays different content for different users while retaining the same layout and design.

o   It is a built-in scripting language such as PHP, Perl, ASP, or JSP. The scripts in the pages run functions on the server that return things like the date and time, and database information.

o   It is a little hard to build.

o   Costly than static websites to host.

o   Easily edit the content on their own.

Sunday, 7 November 2021

len( ) vs count( ) | Python String

Python String method len( ) is used to get the length of the given string.

name = "Welcome to techies sphere"


Output: 25 


Python String method count( ) is used to get the number of occurrences of a substring in the given string.

string = "Welcome to techies sphere."

subString = "to"


Output: 1


Syntax of count( ) method:

string.count( subString, start, end )



subString - string whose count is to be found. 

start (Optional) - starting index within the string where count starts. 

end (Optional) - ending index within the string where count ends.

string = "Welcome to techies sphere, to learn and grow."

subString = "to"

print(string.count(subString, 5, 30))

Output: 1

Sunday, 3 October 2021

Python strings

A string is a sequence of characters. Which is an array of bytes representing Unicode characters. A string character is simply a string with a length of one. The square bracket [] can be used to access elements of the string.

·    Strings in python are surrounded by either a single quotation mark or a double quotation mark.

·    Like ‘Hello python’ or “Hello python”.

print('Hello Python')

print("Hello Python")

Single-line string

·         To assign a single line string to a variable, use this:


a = "Hello Python"


Multiline string

·         To assign the multiline string to a variable, use three single quotes or three double-quotes.


a = '''Lorem ipsum dolor sit amet consectetur adipisicing elit. Itaque earum eius, sapiente error quos distincti est recusandae necessitatibus provident'''



a = """Lorem ipsum dolor sit amet consectetur adipisicing elit. Itaque earum eius, sapiente error quos distincti est recusandae necessitatibus provident"""


Note:- The line breaks are inserted at the same position.

Looping a string

·         We can loop through the characters in a string with a “for” loop.


for x in "Hello":


String length

·         The len() function returns the length of string.


a = "Hello Python"


Thursday, 9 September 2021

Program in python

As we learned about syntax in our previous article which is the introduction of python. Python syntax can be executed by writing directly in the command line.

      print("Hello, Python!")

To create a python file in the IDE, we use the .py file extension and run it in the command line.

    c:users\ name >python file.py

Python Indentation

In python, indentation is very important it’s used to indicate a block of code. Where in another programming language the indentation in the code is for readability only.


if 2 > 1:

  print("one is smaller than two!")

Note:- python will give an error if skip the indentation.


Syntax error:

if 2 > 1:

print("one is smaller than two!")

Comment in python

·         It is used to explain the python code.

·         It is used to make the code more readable.

·         It is used to prevent execution when testing code.

·         Create a comment in python with #, and python will ignore them.



                #This is a comment

             print("Hello, Python!")



      print("Hello, python!") #This is a comment



   #print("Hello, Python!")

             print("hello, python3.9!")

Multiline comment

·        Python uses triple quotes for long comments in the python program.

·         To add multi-line comments insert a # for each line.


   #This is a comment

   #written in

   #more then just one line

  print("Hello, Python!")


            """This is a comment

                 written in

                 more than just one line"""

               print("Hello, Python!")



Wednesday, 8 September 2021

Introduction of python

Python is a high-level and most popular programming language. it was created by Guido van Rossum, and released on February 20, 1991.

Uses of python:-

It is used for general-purpose programming like

·         Mathematics

·         System scripting

·         Software development

·         Web development

Why python?

  •          Python works on different-different platforms like Windows, Mac, Linux, etc.
  •          It has a simple syntax.
  •          It has a syntax that allows developers to write the program with fewer lines than some other programming language.
  •          It has an object-orientated way or a functional way.

What can do python?

  •          It can connect to the database system and also read and modify files.
  •         It is used on the server to create the server-side application.
  •          It is used alongside software to create workflows.
  •          It is used to handle big data and performed complex mathematics.

Syntex in python:-

The syntax is the set of rules that defines how a Python program will be written and interpreted by both runtime systems and human readers.

  •       Python uses new lines to complete commands, as opposed to other programming languages which often use semicolons or parentheses.

  •          It relies on indentation, using whitespace, to define the scope of the loop, function, and classes. Other programming languages often use curly-brackets for this purpose.


print("Hello Python")