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

CodeIgniter

3.2K
1.5K
+ 1
466
Kohana

59
41
+ 1
15
Add tool

CodeIgniter vs Kohana: What are the differences?

Introduction

In this article, we will discuss the key differences between CodeIgniter and Kohana, two popular PHP frameworks for web application development.

  1. Architecture: CodeIgniter follows a traditional MVC (Model-View-Controller) architecture, where the model represents the business logic, the view handles the presentation, and the controller acts as an intermediary between the two. On the other hand, Kohana follows an HMVC (Hierarchical Model-View-Controller) architecture, which allows for modular and reusable components, making the development process more flexible and scalable.

  2. Development Activity: CodeIgniter has been less active in terms of development and updates compared to Kohana. The last major release of CodeIgniter was in 2014, whereas Kohana has seen regular updates and releases, making it more up-to-date and incorporating newer features and improvements.

  3. Extensibility: Kohana offers a more modular and extensible framework compared to CodeIgniter. Kohana's modules can be easily integrated into the application, allowing for better code organization and reusability. CodeIgniter, on the other hand, lacks official support for modular architecture, making it slightly less flexible in terms of extensibility.

  4. Documentation and Community Support: CodeIgniter has a larger and more active community, which means there is a wealth of documentation, tutorials, and community support available. In contrast, Kohana has a smaller community, resulting in limited resources and support options. This lack of resources can make it more challenging for developers, especially beginners, to find solutions to their problems.

  5. Learning Curve: CodeIgniter has a simpler and more straightforward learning curve compared to Kohana. CodeIgniter's documentation and ease of use make it an ideal choice for developers new to PHP frameworks. Kohana, on the other hand, has a steeper learning curve due to its extensive use of PHP namespaces and the HMVC architecture, making it more suitable for experienced developers or those with a solid understanding of PHP.

  6. Active Development: CodeIgniter has had a stable release history and continues to be actively maintained. However, Kohana's development has slowed down in recent years, causing concerns about its long-term viability. This factor could be a consideration for developers looking for a framework with ongoing development and support.

In summary, CodeIgniter follows a traditional MVC architecture with easier learning curve and better community support, while Kohana offers an HMVC architecture with better extensibility and regular updates.

Advice on CodeIgniter and Kohana
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 · 129.7K 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 · 116.8K 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 · 64.5K 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
Prashant Singh Ahluwalia
Head of Engineering - AIOps at Microsoft · | 2 upvotes · 53.2K 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
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
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 · 193.4K 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 · 192.8K 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
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CodeIgniter
Pros of Kohana
  • 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
  • 4
    Open source
  • 3
    Efficient and lightweight
  • 3
    Cascading filesystem
  • 2
    Easy to understand PHP framework
  • 2
    Extensible
  • 1
    A business opportunity

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    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 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.

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

    What companies use CodeIgniter?
    What companies use Kohana?
    See which teams inside your own company are using CodeIgniter or Kohana.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with CodeIgniter?
    What tools integrate with Kohana?

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

    What are some alternatives to CodeIgniter and Kohana?
    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..
    CakePHP
    It makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.
    See all alternatives