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

Martini

16
37
+ 1
15
Yii

707
385
+ 1
311
Add tool

Martini vs Yii: What are the differences?

What is Martini? Classy web framework for Go. Martini is a powerful package for quickly writing modular web applications/services in Golang.

What is Yii? A high-performance PHP framework best for developing Web 2.0 applications. 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.

Martini and Yii belong to "Frameworks (Full Stack)" category of the tech stack.

"Go" is the primary reason why developers consider Martini over the competitors, whereas "Open source" was stated as the key factor in picking Yii.

Martini and Yii are both open source tools. Martini with 10.6K GitHub stars and 1.09K forks on GitHub appears to be more popular than Yii with 4.86K GitHub stars and 2.22K GitHub forks.

Decisions about Martini and Yii

This website was originally written in Yii as PHP was my main language back then. After learning Django, I realized just how quickly you could build a web app with less lines. So I migrated my website to Django in a week or two and managed to cut down the lines of code by half. Some of the lines saving came from the models, the views, and the expressiveness of Python. Django requires like config for the models and they provide many generic views that abstracts away common patterns.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Martini
Pros of Yii
  • 6
    Go
  • 4
    Simple
  • 2
    Open source
  • 1
    Express/Sinatra style framework
  • 1
    Flexible Routing
  • 1
    Modular
  • 0
    Fast
  • 42
    Open source
  • 33
    Code generator
  • 33
    Simple
  • 29
    Active record
  • 26
    Full featured
  • 21
    Documentation
  • 21
    High performance
  • 20
    Rapid development
  • 16
    Flexible
  • 11
    Mvc
  • 10
    Not bloated
  • 8
    Stable Release
  • 8
    Community
  • 8
    Amazing
  • 7
    View Helpers
  • 6
    Modular architecture
  • 6
    Long Term Support
  • 5
    Easy setup, easy develop
  • 1
    Easy

Sign up to add or upvote prosMake informed product decisions

Cons of Martini
Cons of Yii
    Be the first to leave a con
    • 2
      Unnatural love of arrays
    • 1
      Promotes spagetti code
    • 1
      Too Opinionated
    • 1
      Promotes bad practice

    Sign up to add or upvote consMake informed product decisions

    What is Martini?

    Martini is a powerful package for quickly writing modular web applications/services in Golang.

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

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

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

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

    What tools integrate with Martini?
    What tools integrate with Yii?

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

    What are some alternatives to Martini and Yii?
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    Django
    Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
    ASP.NET
    .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
    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.
    Android SDK
    Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment.
    See all alternatives