Get Advice Icon

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

Martini

16
37
+ 1
15
Yii

712
386
+ 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
Manage your open source components, licenses, and vulnerabilities
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?
    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 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?
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    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.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    See all alternatives