Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

CodeIgniter
CodeIgniter

2.4K
617
+ 1
353
Flask
Flask

4.2K
3.3K
+ 1
1.1K
Add tool

CodeIgniter vs Flask: What are the differences?

What is CodeIgniter? A Fully Baked PHP Framework. CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.

What is Flask? a microframework for Python based on Werkzeug, Jinja 2 and good intentions. Flask is intended for getting started very quickly and was developed with best intentions in mind.

CodeIgniter and Flask are primarily classified as "Frameworks (Full Stack)" and "Microframeworks (Backend)" tools respectively.

"Mvc", "Easy setup" and "Open source" are the key factors why developers consider CodeIgniter; whereas "Lightweight", "Python" and "Minimal" are the primary reasons why Flask is favored.

CodeIgniter and Flask are both open source tools. Flask with 45.2K GitHub stars and 12.7K forks on GitHub appears to be more popular than CodeIgniter with 17.4K GitHub stars and 7.72K GitHub forks.

Netflix, reddit, and Lyft are some of the popular companies that use Flask, whereas CodeIgniter is used by Webedia, Die Coder GmbH, and Manchester.com. Flask has a broader approval, being mentioned in 511 company stacks & 531 developers stacks; compared to CodeIgniter, which is listed in 261 company stacks and 105 developer stacks.

What is CodeIgniter?

CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.

What is Flask?

Flask is intended for getting started very quickly and was developed with best intentions in mind.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose CodeIgniter?
Why do developers choose Flask?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use CodeIgniter?
What companies use Flask?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with CodeIgniter?
What tools integrate with Flask?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to CodeIgniter and Flask?
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
WordPress
The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
Yii
Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.
Symfony
Symfony is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.
Kohana
Kohana is an elegant, open source, and object oriented HMVC framework built using PHP5, by a team of volunteers. It aims to be swift, secure, and small.
See all alternatives
Decisions about CodeIgniter and Flask
Pierre Chapuis
Pierre Chapuis
at Pierre Chapuis · | 5 upvotes · 50.4K views
atChilliChilli
Gunicorn
Gunicorn
Python
Python
SQLAlchemy
SQLAlchemy
Hug
Hug
Flask
Flask

Unlike our frontend, we chose Flask, a microframework, for our backend. We use it with Python 3 and Gunicorn.

One of the reasons was that I have significant experience with this framework. However, it also was a rather straightforward choice given that our backend almost only serves REST APIs, and that most of the work is talking to the database with SQLAlchemy .

We could have gone with something like Hug but it is kind of early. We might revisit that decision for new services later on.

See more
Praveen Mooli
Praveen Mooli
Technical Leader at Taylor and Francis · | 11 upvotes · 167.4K views
MongoDB Atlas
MongoDB Atlas
Amazon S3
Amazon S3
Amazon DynamoDB
Amazon DynamoDB
Amazon RDS
Amazon RDS
Serverless
Serverless
Docker
Docker
Terraform
Terraform
Travis CI
Travis CI
GitHub
GitHub
RxJS
RxJS
Angular 2
Angular 2
AWS Lambda
AWS Lambda
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon Kinesis
Amazon Kinesis
Flask
Flask
Python
Python
ExpressJS
ExpressJS
Node.js
Node.js
Spring Boot
Spring Boot
Java
Java
#Data
#Devops
#Webapps
#Eventsourcingframework
#Microservices
#Backend

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
Interest over time
Reviews of CodeIgniter and Flask
Avatar of mjhea0
Software Engineer at TestDriven Labs
Review ofFlaskFlask

Flask is a light, yet powerful Python web framework perfect for quickly building smaller web applications. It's a "micro-framework" that's easy to learn and simple to use, so it's perfect for those new to web development as well as those looking to rapidly develop a web application.

How developers use CodeIgniter and Flask
Avatar of Megan Morsie
Megan Morsie uses CodeIgniterCodeIgniter

I used CodeIgniter while working at KHM Travel Group. It was the system we used for an affiliate-based site called TravSearch, which I later replaced with a WordPress Multisite. I developed a .csv upload form to transfer all the information from the affiliate table of CodeIgniter to the user and options tables in WPMU.

Avatar of Jack Littleton
Jack Littleton uses FlaskFlask

I use Flask for times when I need to create a REST API that interfaces with other Python code, or there is no specific reason why I'd want to use Node.JS. I prefer Flask because of its small learning curve, allowing me to get started coding as quickly as possible

Avatar of Cloudify
Cloudify uses FlaskFlask

This lightweight web framework enables quick REST API development while enabling easy clustering, and the usage of multiple worker processes required to scale the REST API service to meet high volume requirements.

Avatar of Gorka Llona
Gorka Llona uses CodeIgniterCodeIgniter

CodeIgniter is the MVC framework used for the PHP coding. Also, validation criteria for (database) table fields are the provided by CodeIgniter, and signatures for others are derived from those.

Avatar of Delbin Thomas
Delbin Thomas uses CodeIgniterCodeIgniter

It is super easy to do things in PHP using codeigniter. Used the MVC architecture to create different types of pages and modules.

Avatar of Sail Tactics
Sail Tactics uses FlaskFlask

Service to query NOAA weather forecasts data and service to build tidal current forecast maps using AWS EC2 and Geoserver

Avatar of OnlineCity
OnlineCity uses FlaskFlask

Flask drives our APIs, both the Website APIs and the majority of the REST Messaging APIs

Avatar of papaver
papaver uses FlaskFlask

used flask for a few personal projects. enjoyed its simplicity and ease of use.

Avatar of Romans Malinovskis
Romans Malinovskis uses CodeIgniterCodeIgniter

Integrate with some code-igniter low-level modules through composer.

Avatar of Ascendify
Ascendify uses CodeIgniterCodeIgniter

Old stack framework

How much does CodeIgniter cost?
How much does Flask cost?
Pricing unavailable
Pricing unavailable
News about CodeIgniter
More news