SlideShare a Scribd company logo
Programming Paradigm
&
Web ProgrammingGroup No. 03
Special Thanks
Md. Sharif Hossen
Lecturer, Dept. of ICT
Comilla University
GROUP MEMBERS
Serial Name
Identification
Number
01. Md Tanvir Ul Haque 1109017
02. Pradip Karmakar 1109021
03. Zakir Hossen 1109022
04. Murshida Jahan 1109023
05 Habibur Rahman 1109024
Outline:
• What is Programming Paradigm
• Types of Programming Paradigm
• What is web programming
• How does it work
• What are web programming languages
• Module of Web Programming
• HTML
• CSS
• JAVASCRIPT
• PHP
• ASP .NET
• RUBY ON RAILS
• JAVA
• PYTHON
Paradigm:
A theory or a group of ideas about how
something should be done, made, or thought about.
Programming Paradigm:
Is a way to classify programming languages
according to the style of computer programming .
Features of various programming languages determine
which programming paradigms they belong to; as a result,
some languages fall into only one paradigm, while others
fall into multiple paradigms.
A paradigm is a way of doing something (like programming),
and not a concrete thing (like a language). Now, it’s true that if a
programming language L happens to may a particular
programming paradigm P easy to express, then we often say “L
is a P language”.
Example:
TYPES
Imperative Programming
Control flow in imperative programming is explicit:
commands show how the computation takes place, step by
step. Each step affects the global state of the computation.
C,COBOL are imperative programming languages.
Sample code of c(addittion two number):
#include<stdio.h>
int main()
{
int a,b,sum;
scanf("%d %d",&a,&b);
sum=a+b;
printf("sum is %dn",sum);
}
Declarative Programming
Control flow in declarative programming is implicit: the
programmer states only what the result should look like, not
how to obtain it.SQL is one kind of declarative programming
language.
Declarative programming is when we say what we want, and
imperative language is when we say how to get what we
want.
Declarative: small_nums = [x for x in range(20) if x < 5]
Imperative: small_nums = [] for i in range(20): if i < 5:
small_nums.append(i)
Functional Programming:
In functional programming control flow is expressed by
combining function calls, rather than by assigning values
to variables.
With functional programming
•There are no commands.
•Code is much shorter, less error-prone, and much easier
to prove correct
•There is more inherent parallelism, so good compilers
can produce faster code
Logic and Constraint Programming:
Logic and constraint programming are two paradigms in
which programs are built by setting up relations that
specify facts and inference rules, and asking whether or
not something is true (i.e. specifying a goal.) Unification
and backtracking to find solutions (i.e. satisfy goals) takes
place automatically.
Languages that emphasize this paradigm: Prolog, GHC,
Prolog, Vulcan, Polka, Mercury, Fnil.
Prolog code:
grandparent(X, Y) :-
parent(X, Z),
parent(Z, Y).
Object Oriented Programming:
OOP is based on the sending of messages to objects. Objects
respond to messages by performing operations. Messages
can have arguments, so "sending messages" looks a lot like
calling subroutines. A society of objects, each with their own
"local memory" and own set of operations has a different feel
than the feel of non object oriented languages.java is one
kind object oriented programming.
What is web programming?
Web programming refers to the writing, markup and
coding involved in Web development, which includes Web
content, Web client and server scripting and network security.
The most common languages used for Web programming are
JavaScript, Asp.Net, PHP etc. Web programming is different
from just programming, which requires interdisciplinary
knowledge on the application area, client and server scripting,
and database technology.
How does web site programming work?
• Basically, we embed code within our normal HTML
pages. Something like this:
When we access web page with a browser, the web
server will parse, or read through, the HTML page line by
line and when it comes across a programming language, it
will execute the code. In this case, it writes out the current
date on the page and then sends the page back to web
browser. The web browser just sees a normal web page with
a date but the server will generate a different web page when
it is loaded on a different date.
How does web site programming work?
What are web programming languages?
All web programming is done with web programming
languages. These languages can include static
technologies like HTML, XHTML, CSS, JavaScript, and
XML. However, most web site programming is done
using server-side web programming languages. This
code runs on the server and then gives static information
back to the web browser. The most popular web
programming languages are: PHP, ASP.NET, Ruby on
Rails, Perl, ASP classic, Python, and JSP.
Module of Web Programming
Front-End:
1.HTML
2.CSS
3.JavaScript
Back-End:
1.PHP
2.Java
3.Asp.net
4.Ruby on Rails
5.Perl
6.Python
Hyper Text Markup Language(HTML)
 HTML stands for Hyper Text
Markup Language
 A markup language is a set of
markup tags
 HTML tags are keywords
surrounded by angle brackets
like <html>
CSS
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are
to be displayed on screen, paper, or in
other media
CSS saves a lot of work. It can control
the layout of multiple web pages all at once
External style sheets are stored in CSS
files
CSS Syntax
A CSS rule-set consists of a selector and a declaration block:
 JavaScript is a programming language used to
make web pages interactive.
 It is a scripting language.
 It runs on visitor's computer and doesn't
require constant downloads from website.
Are JavaScript and Java the Same?
No, they are two completely different
computer languages.
Only their names are similar.
Java Script
 PHP is the coolest web programming language ever.
 PHP is a server-side, scripting language.
 It can be embedded within HTML and it is used to
create dynamic web pages or web applications.
 PHP code is interpreted by the web server which then
outputs a web page to the browsers that access on it
PHP's Capabilities
PHP can be used on almost any platform
It can run Windows or Linux and many types of web
servers including Apache and IIS.
 PHP can be used for managing email, connecting to other
web sites or servers
PHP
How PHP works with web server
ASP.NET is the brainchild of Microsoft. It is a server-side web
programming language that allows you to build dynamic web site,
web applications, and web services. ASP.NET can be embedded
within HTML or contained in a separate file. ASP.NET code is
compiled and interpreted by the web server which then outputs the
HTML code to the browser.
ASP.NET's capabilities:
ASP.NET must be used on a Windows IIS server that has
the .NET libraries installed. ASP.NET can be used for
managing email, connecting to other web sites or servers,
processing form information, storing information in a
database, creating cookies in a web browser, and much more.
It can connect to many types of databases but is most
commonly used with a Microsoft SQL database.
ASP.NET
It is the hippest web programming language of the decade. It is a free,
server-side, web application framework that allows you to create
dynamic web pages and web applications very rapidly. Ruby on Rails
code is interpreted by the web server which then outputs a web page to
the browsers that access it. It is becoming more and more popular as
people begin to recognize its power to quickly design and implement
web applications. The fundamental Ruby on Rails principles include
Convention over Configuration (CoC) and Don't repeat yourself (DRY).
Capabilities:
Ruby on Rails uses the Ruby programming language, and can be used on
Windows or Linux variant servers but is particularly loved on Mac OS
machines. Ruby on Rails can be used for any typical web programming function
such as managing email, connecting to other web sites or servers, processing
form information, storing information in a database, creating cookies in a web
browser, and much more. It can connect to almost any type of database in the
world but most commonly is used in conjunction with MySQL.
Ruby on Rails
Python is the web programming language that the Google
search engine was made with! Python is used to create
dynamic web pages or web applications. Python code is
interpreted by the web server which then outputs a web
page to the browsers that access it.
Python is available on multiple platforms. It can be used for
managing email, connecting to other web sites, processing form
information, storing information in a database, creating cookies
in a web browser, and much more. It can connect to almost any
type of database but it has a strong relationship with its free
database buddy, MySQL. Python supports object oriented,
imperative, and functional programming models.
Python's Capabilities:
Python
Conclusion:
This is the end From this presentation we
learn about the programming paradigm
and Web programming languages.
Any questions?
Thank You all

More Related Content

What's hot (20)

Rest web services
Rest web servicesRest web services
Rest web services
Paulo Gandra de Sousa
 
On the Road to DSpace 7: Angular UI + REST
On the Road to DSpace 7: Angular UI + RESTOn the Road to DSpace 7: Angular UI + REST
On the Road to DSpace 7: Angular UI + REST
Tim Donohue
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
Philippe Julio
 
Information Extraction
Information ExtractionInformation Extraction
Information Extraction
Rubén Izquierdo Beviá
 
php
phpphp
php
ajeetjhajharia
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http response
Nuha Noor
 
Ruby programming
Ruby programmingRuby programming
Ruby programming
Kartik Kalpande Patil
 
Soap web service
Soap web serviceSoap web service
Soap web service
NITT, KAMK
 
Version Stamps in NOSQL Databases
Version Stamps in NOSQL DatabasesVersion Stamps in NOSQL Databases
Version Stamps in NOSQL Databases
Dr-Dipali Meher
 
Asp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity FrameworkAsp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity Framework
Shravan A
 
SOAP - Simple Object Access Protocol
SOAP - Simple Object Access ProtocolSOAP - Simple Object Access Protocol
SOAP - Simple Object Access Protocol
Anushka Patil
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State Transfer
Peter R. Egli
 
Json
JsonJson
Json
Steve Fort
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
Vikash Singh
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
Dr-Dipali Meher
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentation
ateeq ateeq
 
Intro to GraphQL
 Intro to GraphQL Intro to GraphQL
Intro to GraphQL
Rakuten Group, Inc.
 
Web Scraping and Data Extraction Service
Web Scraping and Data Extraction ServiceWeb Scraping and Data Extraction Service
Web Scraping and Data Extraction Service
PromptCloud
 
Node.js Express Framework
Node.js Express FrameworkNode.js Express Framework
Node.js Express Framework
TheCreativedev Blog
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
balamurugan.k Kalibalamurugan
 
On the Road to DSpace 7: Angular UI + REST
On the Road to DSpace 7: Angular UI + RESTOn the Road to DSpace 7: Angular UI + REST
On the Road to DSpace 7: Angular UI + REST
Tim Donohue
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
Philippe Julio
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http response
Nuha Noor
 
Soap web service
Soap web serviceSoap web service
Soap web service
NITT, KAMK
 
Version Stamps in NOSQL Databases
Version Stamps in NOSQL DatabasesVersion Stamps in NOSQL Databases
Version Stamps in NOSQL Databases
Dr-Dipali Meher
 
Asp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity FrameworkAsp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity Framework
Shravan A
 
SOAP - Simple Object Access Protocol
SOAP - Simple Object Access ProtocolSOAP - Simple Object Access Protocol
SOAP - Simple Object Access Protocol
Anushka Patil
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State Transfer
Peter R. Egli
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
Vikash Singh
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentation
ateeq ateeq
 
Web Scraping and Data Extraction Service
Web Scraping and Data Extraction ServiceWeb Scraping and Data Extraction Service
Web Scraping and Data Extraction Service
PromptCloud
 

Viewers also liked (20)

Web programming
Web programmingWeb programming
Web programming
Leo Mark Villar
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniques
guest8899ec02
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
Leo Hernandez
 
Imperative programming
Imperative programmingImperative programming
Imperative programming
Edward Blurock
 
Programming paradigms
Programming paradigmsProgramming paradigms
Programming paradigms
AVC College of Engineering
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
Bhavin Kamani
 
Content Marketing Strategy Guide (2013)
Content Marketing Strategy Guide (2013)Content Marketing Strategy Guide (2013)
Content Marketing Strategy Guide (2013)
Right Hand Planning
 
The very introduction to content management systems
The very introduction to content management systemsThe very introduction to content management systems
The very introduction to content management systems
Sean Donnelly BA MSc QFA
 
Beyond Basic Content Management: An Introduction to Drupal Administration
Beyond Basic Content Management: An Introduction to Drupal AdministrationBeyond Basic Content Management: An Introduction to Drupal Administration
Beyond Basic Content Management: An Introduction to Drupal Administration
Forum One
 
Joomla Beginners Overview Of Day
Joomla Beginners Overview Of DayJoomla Beginners Overview Of Day
Joomla Beginners Overview Of Day
guest01babb
 
Website introduction
Website introductionWebsite introduction
Website introduction
gmlib
 
Introduction to web content management
Introduction to web content managementIntroduction to web content management
Introduction to web content management
QUT Library
 
JOOMLA
JOOMLAJOOMLA
JOOMLA
Sudip Saha
 
Create your first WordPress website – an introduction to WordPress
Create your first WordPress website – an introduction to WordPressCreate your first WordPress website – an introduction to WordPress
Create your first WordPress website – an introduction to WordPress
Nancy Johnson
 
Introduction to blogs and blogging
Introduction to blogs and bloggingIntroduction to blogs and blogging
Introduction to blogs and blogging
Sanjana Hattotuwa
 
Introduction to Building Wireframes - Part 1
Introduction to Building Wireframes - Part 1Introduction to Building Wireframes - Part 1
Introduction to Building Wireframes - Part 1
lomalogue
 
Word press as an example of wcms
Word press as an example of wcmsWord press as an example of wcms
Word press as an example of wcms
Mohammed Sheikh Salem
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Edward Blurock
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniques
guest8899ec02
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
Leo Hernandez
 
Imperative programming
Imperative programmingImperative programming
Imperative programming
Edward Blurock
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
Bhavin Kamani
 
Content Marketing Strategy Guide (2013)
Content Marketing Strategy Guide (2013)Content Marketing Strategy Guide (2013)
Content Marketing Strategy Guide (2013)
Right Hand Planning
 
The very introduction to content management systems
The very introduction to content management systemsThe very introduction to content management systems
The very introduction to content management systems
Sean Donnelly BA MSc QFA
 
Beyond Basic Content Management: An Introduction to Drupal Administration
Beyond Basic Content Management: An Introduction to Drupal AdministrationBeyond Basic Content Management: An Introduction to Drupal Administration
Beyond Basic Content Management: An Introduction to Drupal Administration
Forum One
 
Joomla Beginners Overview Of Day
Joomla Beginners Overview Of DayJoomla Beginners Overview Of Day
Joomla Beginners Overview Of Day
guest01babb
 
Website introduction
Website introductionWebsite introduction
Website introduction
gmlib
 
Introduction to web content management
Introduction to web content managementIntroduction to web content management
Introduction to web content management
QUT Library
 
Create your first WordPress website – an introduction to WordPress
Create your first WordPress website – an introduction to WordPressCreate your first WordPress website – an introduction to WordPress
Create your first WordPress website – an introduction to WordPress
Nancy Johnson
 
Introduction to blogs and blogging
Introduction to blogs and bloggingIntroduction to blogs and blogging
Introduction to blogs and blogging
Sanjana Hattotuwa
 
Introduction to Building Wireframes - Part 1
Introduction to Building Wireframes - Part 1Introduction to Building Wireframes - Part 1
Introduction to Building Wireframes - Part 1
lomalogue
 
Ad

Similar to Programming paradigm and web programming (20)

Introduction to Server-Side Development with PHP.ppt
Introduction to Server-Side Development with PHP.pptIntroduction to Server-Side Development with PHP.ppt
Introduction to Server-Side Development with PHP.ppt
DestaBelayneh1
 
Php
PhpPhp
Php
Saket Shukla
 
Web programming by kiran and team
Web programming by kiran and teamWeb programming by kiran and team
Web programming by kiran and team
Hemanth Kumar N
 
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
PamRobert
 
A Complete Web Development Guide For Non-Technical Startup Founder
A Complete Web Development Guide For Non-Technical Startup FounderA Complete Web Development Guide For Non-Technical Startup Founder
A Complete Web Development Guide For Non-Technical Startup Founder
img lift
 
Internship full stack developer ppt report .pptx
Internship full stack developer ppt report .pptxInternship full stack developer ppt report .pptx
Internship full stack developer ppt report .pptx
AnkitaVerma776806
 
PhP Training Institute In Delhi
PhP Training Institute In DelhiPhP Training Institute In Delhi
PhP Training Institute In Delhi
DivyaSharma84779
 
Function of PHP in Website Development
Function of PHP in Website DevelopmentFunction of PHP in Website Development
Function of PHP in Website Development
EffOne_Technologies
 
Node JS vs PHP Which Backend to Choose for Your Project.pdf
Node JS vs PHP Which Backend to Choose for Your Project.pdfNode JS vs PHP Which Backend to Choose for Your Project.pdf
Node JS vs PHP Which Backend to Choose for Your Project.pdf
Pixlogix Infotech
 
Full Stack Web Development
Full Stack Web DevelopmentFull Stack Web Development
Full Stack Web Development
SWAGATHCHOWDARY1
 
Php verses .net
Php verses .netPhp verses .net
Php verses .net
CBitss Technologies
 
Node.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdfNode.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdf
Mindfire LLC
 
Php ppt
Php pptPhp ppt
Php ppt
Sasi Kumar
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
Sasi Kumar
 
Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
 Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or... Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
Simpliv LLC
 
Object Oriented Programming with Laravel - Session 1
Object Oriented Programming with Laravel - Session 1Object Oriented Programming with Laravel - Session 1
Object Oriented Programming with Laravel - Session 1
Shahrzad Peyman
 
PHP
PHPPHP
PHP
Momentum Design Lab
 
Node Js vs PHP Which One is Perfect for Your Project
Node Js vs PHP Which One is Perfect for Your ProjectNode Js vs PHP Which One is Perfect for Your Project
Node Js vs PHP Which One is Perfect for Your Project
ultroNeous Technologies | Best Web App Development Company
 
Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)
Roohul Amin
 
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
Is Ruby on Rails Object Oriented? A Comprehensive ExplorationIs Ruby on Rails Object Oriented? A Comprehensive Exploration
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
rorbitssoftware
 
Introduction to Server-Side Development with PHP.ppt
Introduction to Server-Side Development with PHP.pptIntroduction to Server-Side Development with PHP.ppt
Introduction to Server-Side Development with PHP.ppt
DestaBelayneh1
 
Web programming by kiran and team
Web programming by kiran and teamWeb programming by kiran and team
Web programming by kiran and team
Hemanth Kumar N
 
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
PamRobert
 
A Complete Web Development Guide For Non-Technical Startup Founder
A Complete Web Development Guide For Non-Technical Startup FounderA Complete Web Development Guide For Non-Technical Startup Founder
A Complete Web Development Guide For Non-Technical Startup Founder
img lift
 
Internship full stack developer ppt report .pptx
Internship full stack developer ppt report .pptxInternship full stack developer ppt report .pptx
Internship full stack developer ppt report .pptx
AnkitaVerma776806
 
PhP Training Institute In Delhi
PhP Training Institute In DelhiPhP Training Institute In Delhi
PhP Training Institute In Delhi
DivyaSharma84779
 
Function of PHP in Website Development
Function of PHP in Website DevelopmentFunction of PHP in Website Development
Function of PHP in Website Development
EffOne_Technologies
 
Node JS vs PHP Which Backend to Choose for Your Project.pdf
Node JS vs PHP Which Backend to Choose for Your Project.pdfNode JS vs PHP Which Backend to Choose for Your Project.pdf
Node JS vs PHP Which Backend to Choose for Your Project.pdf
Pixlogix Infotech
 
Full Stack Web Development
Full Stack Web DevelopmentFull Stack Web Development
Full Stack Web Development
SWAGATHCHOWDARY1
 
Node.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdfNode.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdf
Mindfire LLC
 
Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
 Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or... Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
Which is Best for Web Application Development—Dot Net, PHP, Python, Ruby, or...
Simpliv LLC
 
Object Oriented Programming with Laravel - Session 1
Object Oriented Programming with Laravel - Session 1Object Oriented Programming with Laravel - Session 1
Object Oriented Programming with Laravel - Session 1
Shahrzad Peyman
 
Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)
Roohul Amin
 
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
Is Ruby on Rails Object Oriented? A Comprehensive ExplorationIs Ruby on Rails Object Oriented? A Comprehensive Exploration
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
rorbitssoftware
 
Ad

More from Mohammad Kamrul Hasan (8)

Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Mohammad Kamrul Hasan
 
Truth management system
Truth  management systemTruth  management system
Truth management system
Mohammad Kamrul Hasan
 
What should or not be programmed on the web
What should or not be programmed on the  webWhat should or not be programmed on the  web
What should or not be programmed on the web
Mohammad Kamrul Hasan
 
Web browsers and web document
Web browsers and web documentWeb browsers and web document
Web browsers and web document
Mohammad Kamrul Hasan
 
Tasks suitable for programming on the web
Tasks suitable for programming on the webTasks suitable for programming on the web
Tasks suitable for programming on the web
Mohammad Kamrul Hasan
 
Static dynamic and active web pages
Static dynamic and active web pagesStatic dynamic and active web pages
Static dynamic and active web pages
Mohammad Kamrul Hasan
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programming
Mohammad Kamrul Hasan
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 
Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Distinguishing Performance of 60-GHz Micro strip Patch Antenna for Different ...
Mohammad Kamrul Hasan
 
What should or not be programmed on the web
What should or not be programmed on the  webWhat should or not be programmed on the  web
What should or not be programmed on the web
Mohammad Kamrul Hasan
 
Tasks suitable for programming on the web
Tasks suitable for programming on the webTasks suitable for programming on the web
Tasks suitable for programming on the web
Mohammad Kamrul Hasan
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programming
Mohammad Kamrul Hasan
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 

Recently uploaded (20)

Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptxRai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
Quiz Club of PSG College of Arts & Science
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Optimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptxOptimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptx
UrmiPrajapati3
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
Quiz Club of PSG College of Arts & Science
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
National Information Standards Organization (NISO)
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Optimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptxOptimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptx
UrmiPrajapati3
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 

Programming paradigm and web programming

  • 2. Special Thanks Md. Sharif Hossen Lecturer, Dept. of ICT Comilla University
  • 3. GROUP MEMBERS Serial Name Identification Number 01. Md Tanvir Ul Haque 1109017 02. Pradip Karmakar 1109021 03. Zakir Hossen 1109022 04. Murshida Jahan 1109023 05 Habibur Rahman 1109024
  • 4. Outline: • What is Programming Paradigm • Types of Programming Paradigm • What is web programming • How does it work • What are web programming languages • Module of Web Programming • HTML • CSS • JAVASCRIPT • PHP • ASP .NET • RUBY ON RAILS • JAVA • PYTHON
  • 5. Paradigm: A theory or a group of ideas about how something should be done, made, or thought about. Programming Paradigm: Is a way to classify programming languages according to the style of computer programming . Features of various programming languages determine which programming paradigms they belong to; as a result, some languages fall into only one paradigm, while others fall into multiple paradigms.
  • 6. A paradigm is a way of doing something (like programming), and not a concrete thing (like a language). Now, it’s true that if a programming language L happens to may a particular programming paradigm P easy to express, then we often say “L is a P language”. Example:
  • 8. Imperative Programming Control flow in imperative programming is explicit: commands show how the computation takes place, step by step. Each step affects the global state of the computation. C,COBOL are imperative programming languages. Sample code of c(addittion two number): #include<stdio.h> int main() { int a,b,sum; scanf("%d %d",&a,&b); sum=a+b; printf("sum is %dn",sum); }
  • 9. Declarative Programming Control flow in declarative programming is implicit: the programmer states only what the result should look like, not how to obtain it.SQL is one kind of declarative programming language. Declarative programming is when we say what we want, and imperative language is when we say how to get what we want. Declarative: small_nums = [x for x in range(20) if x < 5] Imperative: small_nums = [] for i in range(20): if i < 5: small_nums.append(i)
  • 10. Functional Programming: In functional programming control flow is expressed by combining function calls, rather than by assigning values to variables. With functional programming •There are no commands. •Code is much shorter, less error-prone, and much easier to prove correct •There is more inherent parallelism, so good compilers can produce faster code
  • 11. Logic and Constraint Programming: Logic and constraint programming are two paradigms in which programs are built by setting up relations that specify facts and inference rules, and asking whether or not something is true (i.e. specifying a goal.) Unification and backtracking to find solutions (i.e. satisfy goals) takes place automatically. Languages that emphasize this paradigm: Prolog, GHC, Prolog, Vulcan, Polka, Mercury, Fnil. Prolog code: grandparent(X, Y) :- parent(X, Z), parent(Z, Y).
  • 12. Object Oriented Programming: OOP is based on the sending of messages to objects. Objects respond to messages by performing operations. Messages can have arguments, so "sending messages" looks a lot like calling subroutines. A society of objects, each with their own "local memory" and own set of operations has a different feel than the feel of non object oriented languages.java is one kind object oriented programming.
  • 13. What is web programming? Web programming refers to the writing, markup and coding involved in Web development, which includes Web content, Web client and server scripting and network security. The most common languages used for Web programming are JavaScript, Asp.Net, PHP etc. Web programming is different from just programming, which requires interdisciplinary knowledge on the application area, client and server scripting, and database technology.
  • 14. How does web site programming work? • Basically, we embed code within our normal HTML pages. Something like this:
  • 15. When we access web page with a browser, the web server will parse, or read through, the HTML page line by line and when it comes across a programming language, it will execute the code. In this case, it writes out the current date on the page and then sends the page back to web browser. The web browser just sees a normal web page with a date but the server will generate a different web page when it is loaded on a different date. How does web site programming work?
  • 16. What are web programming languages? All web programming is done with web programming languages. These languages can include static technologies like HTML, XHTML, CSS, JavaScript, and XML. However, most web site programming is done using server-side web programming languages. This code runs on the server and then gives static information back to the web browser. The most popular web programming languages are: PHP, ASP.NET, Ruby on Rails, Perl, ASP classic, Python, and JSP.
  • 17. Module of Web Programming Front-End: 1.HTML 2.CSS 3.JavaScript Back-End: 1.PHP 2.Java 3.Asp.net 4.Ruby on Rails 5.Perl 6.Python
  • 18. Hyper Text Markup Language(HTML)  HTML stands for Hyper Text Markup Language  A markup language is a set of markup tags  HTML tags are keywords surrounded by angle brackets like <html>
  • 19. CSS CSS stands for Cascading Style Sheets CSS describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once External style sheets are stored in CSS files
  • 20. CSS Syntax A CSS rule-set consists of a selector and a declaration block:
  • 21.  JavaScript is a programming language used to make web pages interactive.  It is a scripting language.  It runs on visitor's computer and doesn't require constant downloads from website. Are JavaScript and Java the Same? No, they are two completely different computer languages. Only their names are similar. Java Script
  • 22.  PHP is the coolest web programming language ever.  PHP is a server-side, scripting language.  It can be embedded within HTML and it is used to create dynamic web pages or web applications.  PHP code is interpreted by the web server which then outputs a web page to the browsers that access on it PHP's Capabilities PHP can be used on almost any platform It can run Windows or Linux and many types of web servers including Apache and IIS.  PHP can be used for managing email, connecting to other web sites or servers PHP
  • 23. How PHP works with web server
  • 24. ASP.NET is the brainchild of Microsoft. It is a server-side web programming language that allows you to build dynamic web site, web applications, and web services. ASP.NET can be embedded within HTML or contained in a separate file. ASP.NET code is compiled and interpreted by the web server which then outputs the HTML code to the browser. ASP.NET's capabilities: ASP.NET must be used on a Windows IIS server that has the .NET libraries installed. ASP.NET can be used for managing email, connecting to other web sites or servers, processing form information, storing information in a database, creating cookies in a web browser, and much more. It can connect to many types of databases but is most commonly used with a Microsoft SQL database. ASP.NET
  • 25. It is the hippest web programming language of the decade. It is a free, server-side, web application framework that allows you to create dynamic web pages and web applications very rapidly. Ruby on Rails code is interpreted by the web server which then outputs a web page to the browsers that access it. It is becoming more and more popular as people begin to recognize its power to quickly design and implement web applications. The fundamental Ruby on Rails principles include Convention over Configuration (CoC) and Don't repeat yourself (DRY). Capabilities: Ruby on Rails uses the Ruby programming language, and can be used on Windows or Linux variant servers but is particularly loved on Mac OS machines. Ruby on Rails can be used for any typical web programming function such as managing email, connecting to other web sites or servers, processing form information, storing information in a database, creating cookies in a web browser, and much more. It can connect to almost any type of database in the world but most commonly is used in conjunction with MySQL. Ruby on Rails
  • 26. Python is the web programming language that the Google search engine was made with! Python is used to create dynamic web pages or web applications. Python code is interpreted by the web server which then outputs a web page to the browsers that access it. Python is available on multiple platforms. It can be used for managing email, connecting to other web sites, processing form information, storing information in a database, creating cookies in a web browser, and much more. It can connect to almost any type of database but it has a strong relationship with its free database buddy, MySQL. Python supports object oriented, imperative, and functional programming models. Python's Capabilities: Python
  • 27. Conclusion: This is the end From this presentation we learn about the programming paradigm and Web programming languages.