Need advice about which tool to choose?Ask the StackShare community!
Android SDK vs Yii: What are the differences?
Developers describe Android SDK as "An SDK that provides you the API libraries and developer tools necessary to build, test, and debug apps for Android". Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment. On the other hand, Yii is detailed as "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.
Android SDK and Yii can be primarily classified as "Frameworks (Full Stack)" tools.
"Android development" is the primary reason why developers consider Android SDK over the competitors, whereas "Open source" was stated as the key factor in picking Yii.
Yii is an open source tool with 4.86K GitHub stars and 2.22K GitHub forks. Here's a link to Yii's open source repository on GitHub.
According to the StackShare community, Android SDK has a broader approval, being mentioned in 1083 company stacks & 905 developers stacks; compared to Yii, which is listed in 58 company stacks and 32 developer stacks.
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.
We actually initially wrote a lot of networking code in Kotlin but the complexities involved prompted us to try and compile NodeJS for Android and port over all the networking logic to Node and communicate with node over the Java Native Interface.
This turned out to be a great decision considering our battery usage fell by 40% and rate of development increased by a factor of 2.
Pros of Android SDK
- Android development289
- Necessary for android156
- Android studio128
- Mobile framework86
- Backed by google82
- Platform-tools27
- Eclipse + adt plugin21
- Powerful, simple, one stop environment5
- Free3
- Больно3
Pros of Yii
- Open source42
- Code generator33
- Simple33
- Active record29
- Full featured26
- Documentation21
- High performance21
- Rapid development20
- Flexible16
- Mvc11
- Not bloated10
- Stable Release8
- Community8
- Amazing8
- View Helpers7
- Modular architecture6
- Long Term Support6
- Easy setup, easy develop5
- Easy1
Sign up to add or upvote prosMake informed product decisions
Cons of Android SDK
Cons of Yii
- Unnatural love of arrays2
- Promotes spagetti code1
- Too Opinionated1
- Promotes bad practice1