0% found this document useful (0 votes)
24 views4 pages

Framework Vs Programming Language

The document provides an overview of programming languages and frameworks, highlighting the differences between them, with examples such as JavaScript, Python, and MwalaJS. It explains that programming languages are used to communicate with computers, while frameworks are built on these languages to facilitate faster application development. MwalaJS is introduced as a full-stack JavaScript framework designed for high performance and simplicity in project creation.

Uploaded by

Hekima Mwala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views4 pages

Framework Vs Programming Language

The document provides an overview of programming languages and frameworks, highlighting the differences between them, with examples such as JavaScript, Python, and MwalaJS. It explains that programming languages are used to communicate with computers, while frameworks are built on these languages to facilitate faster application development. MwalaJS is introduced as a full-stack JavaScript framework designed for high performance and simplicity in project creation.

Uploaded by

Hekima Mwala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

FRAMEWORK-PROGRAMMING

_LANGUAGES-MWALAJS
OVERVIEWS
By SIR H. A. MWALA

🎯 Objectives: SHORT SUMMARY :: ABOUT FRAMEWORK-


PROGRAMMING ,LANGUAGES,MWALAJS

Understanding Programming
Languages vs Frameworks
What is a Programming Language?
A programming language is a set of instructions and syntax used to
communicate with computers. It is used to write software, scripts, and
system logic.

 Defines how we communicate with a computer.


 Examples include: JavaScript, Python, Dart, PHP, C++, Java.

Analogy: A programming language is like English or Swahili — it gives you


words and grammar to create meaningful communication.

What is a Framework?
A framework is a toolkit or structure built on top of a programming
language. It provides ready-made components and architecture for building
applications faster and more efficiently.

 Helps speed up development.


 Follows a specific structure and design pattern.
 Examples: React, Laravel, Flutter, Express, MwalaJS.

Analogy: A framework is like a house-building scaffold — it helps you build


faster without starting from scratch.

Key Differences
Feature Programming Language Framework
Definition Syntax + instructions to talk to a computer Pre-built code/tools written in a language
Purpose Write logic from scratch Write logic faster using built-in tools
Examples JavaScript, Dart, Python, C++ React, Flutter, Laravel, MwalaJS
Built With Low-level or compiled code Using programming languages
Flexibility 100% freedom Follow rules & structure

Why Are They Confused?


Some frameworks are so popular that people assume they are languages.

 "I'm learning Flutter" — but Flutter is a framework built using Dart.


 "React is a language" — but React is a JavaScript framework.

Real-World Examples
Framework Built Using Description
React JavaScript Frontend UI framework
Flutter Dart Mobile UI framework for Android/iOS
Laravel PHP Full-stack web app framework
Express JavaScript (Node.js) Backend web framework
MwalaJS JavaScript Full-stack CLI-based web framework

What is MwalaJS?
 MwalaJS is a full-stack JavaScript framework.
 Works with EJS for frontend views by default.
 Supports database commands, backend logic, and CLI tools.
 You can replace views with React, Vue, or any frontend engine.
 Faster than Laravel because it runs on Google’s V8 JavaScript engine.
 Built for high performance and simplicity in project creation.

When to Use a Framework


 When you want to develop apps faster.
 When you want code that’s more organized and secure.
 When you want to follow coding best practices with less effort.

Final Summary
Item Description
Programming Language Foundation like JavaScript, Dart, PHP
Framework Built using a language to simplify development
MwalaJS JavaScript-based CLI framework with backend + EJS views
Dart Programming language used by Flutter
React / Laravel Frameworks built on JavaScript / PHP
Prepared for students and developers by MwalaJS Community. For more
info, visit: https://mwalajs.biasharabora.com

Frameworks: Strengths and Weaknesses


Framework Language Base Strengths Weaknesses
MwalaJS JavaScript  Very fast — uses Google V8 engine  Still new — smalle
(Node.js)  Lightweight and modular  Limited documenta
 Supports EJS views, but can work with beginners
React, Angular etc.  Few ready-made pl
 Designed for both backend and frontend CLI
operations
 Flexible and developer-friendly structure

Laravel PHP  Elegant and expressive syntax  Slower compared t


 Large community support engines
 Many built-in tools (auth, migration, etc.)  Heavier footprint o
 Blade templating engine  Can become compl
projects

Django Python  Very secure by default  Steep learning curv


 Admin interface out of the box beginners
 Strong ORM and migrations system  Too "opinionated"
 Great for rapid development flexibility
 Slower than Node.
tasks

Express.js JavaScript  Minimal and fast  Too unstructured fo


(Node.js)  Middleware support  No built-in security
 Huge community and npm support
 Async by default

Ruby on Ruby  Convention over configuration  Memory-heavy


Rails  Rapid development  Not ideal for highly
 Built-in tools and generators apps
 Ruby language itse
popular now
Framework Language Base Strengths Weaknesses
Spring Boot Java  Scalable and powerful for enterprise apps  Heavyweight and v
 Secure and stable  Longer startup time
 Integrates well with enterprise systems  Requires more serv

📖 By Hekima A. Mwala

📄 Page: 1.1

You might also like