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

CodeIgniter

3.2K
1.5K
+ 1
466
PHP-MVC

105
221
+ 1
3
Add tool

CodeIgniter vs PHP-MVC: What are the differences?

  1. Key Difference 1: Language Support CodeIgniter is based on PHP, which is a popular server-side scripting language. It provides support for a wide range of platforms and operating systems. On the other hand, PHP-MVC is a framework that utilizes the MVC (Model-View-Controller) pattern and is specifically designed for PHP applications.

  2. Key Difference 2: Modularity CodeIgniter follows a monolithic approach, where all the libraries and components are bundled together, making it relatively easy to set up and use. However, this can lead to a larger footprint and slower performance for larger applications. PHP-MVC, on the other hand, follows a modular approach, allowing developers to pick and choose the specific components they need, resulting in leaner and more efficient applications.

  3. Key Difference 3: Configuration and Convention CodeIgniter relies heavily on configuration files, where developers can define various settings and options. It follows a "convention over configuration" approach, meaning it assumes certain default conventions unless explicitly overridden. PHP-MVC, on the other hand, is more configuration-driven, allowing developers to customize and fine-tune various aspects of the framework to suit their specific needs.

  4. Key Difference 4: Database Management CodeIgniter provides a built-in database abstraction layer, which makes it easier to work with databases. It supports multiple database types, such as MySQL, Oracle, and PostgreSQL, and provides a simple and intuitive interface for performing database operations. PHP-MVC, on the other hand, does not have a built-in database layer and relies on third-party libraries or extensions for database management.

  5. Key Difference 5: Extension and Customization CodeIgniter provides a robust set of built-in libraries and helpers that cover a wide range of functionality, such as form validation, file uploading, and session management. Additionally, it has a large community of developers who contribute plugins and extensions, making it easy to extend the framework's capabilities. PHP-MVC, on the other hand, provides a basic set of libraries and leaves room for developers to customize and extend the framework according to their specific requirements.

  6. Key Difference 6: Learning Curve CodeIgniter has a relatively low learning curve, making it accessible to beginners and allowing them to quickly start building web applications. It has comprehensive documentation and a large community of developers, which makes it easier to find support and resources. PHP-MVC, on the other hand, may have a steeper learning curve, as it requires a solid understanding of the MVC pattern and PHP frameworks in general. However, once mastered, it provides a solid foundation for developing scalable and maintainable applications.

In summary, CodeIgniter is a PHP-based framework that offers simplicity, comprehensive documentation, and a low learning curve, while PHP-MVC provides modularity, customization options, and extensibility for more experienced developers.

Advice on CodeIgniter and PHP-MVC
Michael Feldhake
Developer at Fleet-Nomics · | 7 upvotes · 42.1K views
Needs advice
on
BubbleBubbleCakePHPCakePHP
and
CodeIgniterCodeIgniter

Hi all, I need to create a simple IoT interface application that connects the end device API with a GeoTab API. I am considering using Bubble due to its simple interface and configuration tools, but I fear it's too simple. We will want to add features and new devices as we grow - I was thinking of using CodeIgniter or CakePHP on a hosted site for the application. Must support JCOM encoding between the two APIs and there is no need for a separate interface as GeoTab already has one; we are just connecting and pushing data. Thoughts?

See more
Replies (1)
Jordan Lis
Co-Founder at Partunity · | 1 upvotes · 1K views
Recommends

You should check out Partunity.com if you want to get plugged in with innovative tech startup ideas!

See more
Needs advice
on
CodeIgniterCodeIgniter
and
LaravelLaravel

I need to build a web application plus android and IOS apps for an enterprise, like an e-commerce portal. It will have intensive use of MySQL to display thousands (40-50k) of live product information in an interactive table (searchable, filterable), live delivery tracking. It has to be secure, as it will handle information on customers, sales, inventory. Here is the technology stack: Backend: Laravel 7 Frondend: Vue.js, React or AngularJS?

Need help deciding technology stack. Thanks.

See more
Replies (8)
anas mattar
Technical Lead at DPO International · | 19 upvotes · 136.6K views
Recommends
on
LaravelLaravelVue.jsVue.js

It's better to use Laravel with Vue.js and also laravel is very lightweight and speed performance.

See more
Jagdeep Singh
Tech Lead at Founder + Lightning · | 8 upvotes · 123.6K views
Recommends
on
LaravelLaravel

Go for Laravel 8 (not 7, obviously because it's the latest version and has a lot of new features and bug fixes) when it comes to backend coding.

Go for Vue.js (if you don't have any preference) because it is having by default configuration setup in Laravel).

Pick MySQL or PostgreSQL both work fine.

If you know GCP, go for it, otherwise go for Heroku.

Avoid spending time on hosting setup - prefer PaaS based solutions.

In Laravel, try Laravel Breeze or Jetstream - these might make the development much faster - at least for the basic setup that is there.

See more

40-50k should not be a problem at all for the database nor for any frontend/backend combo. Laravel works pretty well with Vue.js, for example; and you can include Elasticsearch in the combo if you really need fulltext search capabilites in your app. That will be much more decisive in the final product than the frontend stack chosen.

See more
Brandon Miller
Recommends
on
GolangGolangNode.jsNode.js

I don't know anything really about CodeIgniter, but I do know that microservices are a great choice for e-commerce, as they tend to have a lot of different moving (but not necessarily connected) parts. That being said, and if you have a choice, I'd recommend Go personally. But node isn't the worst option if Go isn't something you're comfortable with.

If you know typescript and want an entire framework to work with, go wth Angular. AngularJS, to my knowledge was deprecated. React is great, popular, and you'll find a ton of support.

See more
Vlad Macovei
Full stack developer at EasyDo Digital Technologies · | 4 upvotes · 71.3K views
Recommends
on
LaravelLaravelNuxt.jsNuxt.js

I highly recomand using the Vue based Nuxt framework for the front end. It is not required to use the server render feature and the folder based routing and stores are really nice to work with. In addition it brings component auto import and lots of plugins neatly integrated (authentication, i18n, socket.io, etc.). If in the setup process you also chose Vuetify as a component library you will cover 98% of needed components.

As for Laravel vs CodeIginter I would chose Laravel as the safest bet. Sadly, CodeIgniter development slowed down after the main contributor's death. It is also worth mentioning, as others did, that the initial boost Vue got is from Laravel's creator and community. The simplicity and ease of use mindset is shared.

See more
Nic Rosental
Recommends
on
Vue.jsVue.js

I can't speak to Angular since I haven't used it for at least 3 years (I wasn't a fan back then) but both React and Vue are great frameworks and will do the job just fine. Since you are using Laravel for the back end I'd recommend Vue. There's a lot of overlap between the communities and most Laravel developers I know do favor Vue over React.

See more
Recommends
on
LaravelLaravel

Laravel is the best tool in php and I know it also if i don't develop in php. Vue.js is the future. In combination with https://bootstrap-vue.org/ is THE solution.

Best regards

See more
Prashant Singh Ahluwalia
Head of Engineering - AIOps at Microsoft · | 2 upvotes · 60K views
Recommends

If your customer is an enterprise, I'll strongly recommend leveraging Azure or AWS for building and hosting your backend. AWS API Gateway + AWS Lambda + AWS RDS would be a good combination. You might want to run everything in your VPC if security / privacy are your top concerns.

See more
Needs advice
on
CodeIgniterCodeIgniterLaravelLaravel
and
Node.jsNode.js

Hi, We are thinking to rebuild a website and need your suggestion on which platform to choose from NodeJs, Laravel & CodeIgnitor. Since it's an education base website and there will be multiple functionalities like the use of graphics, video, animation and off-course forms for lead generation. Please advise us which tool to use to build the website considering load-time, server security, code vulnerability, etc.

See more
Replies (4)
Recommends
on
LaravelLaravel

It has the necessary packages for what you need, in addition to optimizing your time with what is needed.

See more
JT Turner
Lean Software Programmer · | 1 upvotes · 207.1K views
Recommends
on
Phoenix FrameworkPhoenix Framework

Node.js is great but if I had a choice for something like this I would pick Elixir and Phoenix. They have LiveViews and channels which be one step up then the other 3 plateforms. It will also scale better and respond faster. Last will probably far less code as well.

See more
Recommends
on
Node.jsNode.js

Node.js is the perfect tech to real-time features like chats, forums, quizzes and polls. Additionally it has great support for objects storage like Mongodb and its important for file media management.

See more
abdul mobeen
Backend Engineer(PHP◆Laravel◆CodeIgniter◆APIs◆Microservices) at StarsLeague · | 0 upvotes · 206.5K views
Recommends
on
Node.jsNode.js

I would suggest you to pick the right stack for the right purpose. My suggestion would be to go for Microservices approach and break your app into smaller pieces according to the type of functionality like you mentioned above. E.g if you would be expecting the high traffic on you platform, then Node.js can be used as the endpoint there to handle that traffic. Normal form processing can be done in Laravel but I would not suggest codeigniter as managing code is difficult there.

So this way you can decide do architecture you app and can use the best of the feature from all the languages. Even it would be easier for you to manage your app based on the functionality and team who will be working on that. Hope you would like my suggestions.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of CodeIgniter
Pros of PHP-MVC
  • 88
    Mvc
  • 76
    Easy setup
  • 70
    Open source
  • 62
    Well documented
  • 36
    Community support
  • 25
    Easy to learn
  • 21
    Easy
  • 14
    Fast
  • 11
    HMVC
  • 9
    "Fast","Easy","MVC"
  • 9
    Language Suppert
  • 7
    Powerful
  • 6
    I think it is best. we can make all types of project
  • 6
    Easy, fast and full functional
  • 6
    Open source, Easy to setup
  • 5
    Customizable
  • 5
    Beginner friendly framework
  • 4
    Super Lightweight, Super Easy to Learn
  • 3
    CLI
  • 2
    Easily Extensible
  • 1
    Powerful
  • 3
    Easy to Learn

Sign up to add or upvote prosMake informed product decisions

Cons of CodeIgniter
Cons of PHP-MVC
  • 6
    No ORM
  • 1
    No CLI
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    No Stats

    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 PHP-MVC?

    This project is - by intention - NOT a full framework, it's a bare-bone structure, written in purely native PHP ! The php-mvc skeleton tries to be the extremely slimmed down opposite of big frameworks like Zend2, Symfony or Laravel.

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

    What companies use CodeIgniter?
    What companies use PHP-MVC?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with CodeIgniter?
    What tools integrate with PHP-MVC?

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

    What are some alternatives to CodeIgniter and PHP-MVC?
    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
    It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..
    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