Need advice about which tool to choose?Ask the StackShare community!
Electron vs Slim: What are the differences?
Developers describe Electron as "Build cross platform desktop apps with web technologies. Formerly known as Atom Shell, made by GitHub". With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor. On the other hand, Slim is detailed as "A PHP micro framework". Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.
Electron and Slim are primarily classified as "Cross-Platform Desktop Development" and "Microframeworks (Backend)" tools respectively.
"Easy to make rich cross platform desktop applications" is the top reason why over 50 developers like Electron, while over 27 developers mention "Microframework" as the leading cause for choosing Slim.
Electron and Slim are both open source tools. It seems that Electron with 74.9K GitHub stars and 9.81K forks on GitHub has more adoption than Slim with 9.95K GitHub stars and 1.84K GitHub forks.
Slack, Intuit, and InVisionApp are some of the popular companies that use Electron, whereas Slim is used by Coderus, WebbyLab, and Die Coder GmbH. Electron has a broader approval, being mentioned in 221 company stacks & 374 developers stacks; compared to Slim, which is listed in 29 company stacks and 21 developer stacks.
Pros of Electron
- Easy to make rich cross platform desktop applications69
- Open source53
- Great looking apps such as Slack and Visual Studio Code14
- Because it's cross platform8
- Use Node.js in the Main Process4
Pros of Slim
- Microframework33
- API27
- Open source22
- Php21
- Fast11
- Restful & fast framework8
- Easy Setup, Great Documentation7
- Modular5
- Clear and straightforward5
- Good document to upgrade from previous version5
- Dependency injection4
- Composer2
- Easy to learn2
Sign up to add or upvote prosMake informed product decisions
Cons of Electron
- Uses a lot of memory19
- User experience never as good as a native app8
- No proper documentation4
- Does not native4
- Each app needs to install a new chromium + nodejs1
- Wrong reference for dom inspection1