No matter what you do for a living, making sure you have the right tools for the job is essential for any working professional. Mendix Studio Pro is a great piece of software to build apps with, but there are a plethora of other tools that can help you build apps more efficiently than ever before. In this article, I go over my recommendations for must-have tools for everyday use in Mendix development.
1. Use Prettier for automatic file formatting
If you have experience writing custom styling, you are probably familiar with CSS indentation formatting. Did you know there are easy ways to automate this? I use the Visual Studio Code extension Prettier to automatically format my SCSS whenever I save a file.
You can even customize the formatting rules on a per-project basis, using a Prettier configuration file! This way, you can ensure that everyone on your team uses the same formatting.
2. Extend Mendix Version Control by installing TortoiseSVN
Mendix uses Subversion (SVN) for version management. Most of the things you need for this are included under the Version Control menu item in Studio Pro, but you can download TortoiseSVN to get some additional functionalities.
With TortoiseSVN, you can:
- Update to a specific revision, for instance, to compare changes between commits.
- Rename and archive branches.
- Resolve merge issues that occurred outside of Studio Pro.
- Update and commit without having to open Studio Pro.
- Add items to the ignore list, preventing merge conflicts for compiled files.
Make sure you check which TortoiseSVN version you need for your Studio Pro version.
3. Enhance your browser with bookmarklets
Mendix offers a JavaScript API that you can use to your advantage. Most modern browsers offer the option to save JavaScript snippets in your bookmarks called bookmarklets.
Bookmarking a JavaScript function allows you to call it with a single mouse click directly from your browser. The possibilities are endless: logging in, opening a page, executing a microflow… You can bookmark any function that you use regularly during app development.
Log out of any Mendix application instantly by clicking a bookmark on your toolbar
javascript:(function()%7Bmx.logout()%3B%7D)()%3B
I use this bookmarklet maker to generate bookmarklets from my JavaScript snippets.
4. Squeeze more efficiency out of Windows using PowerToys
If you’ve ever used a MacBook before, I’m sure you miss the Spotlight feature after switching to Windows. Did you know Microsoft offers this — and more — with PowerToys? For instance, it adds functionality in File Explorer to preview .svg
and .md
files, a right-click image resizer, and a nifty color picker. A must-have for anyone using Windows on a daily basis!
5. Automate your installation process with Chocolatey
Again, if you used a MacBook in the past, you’ve probably heard of Homebrew. There is a Windows equivalent called Chocolatey. Chocolatey is a package manager for Windows that allows you to search for and install software right from the command prompt.
To illustrate, let me give you an example. I’m sure you are familiar with the traditional method of installing new software. It goes something like this:
- Open browser
- Search for software
- Load the website
- Navigate to the download page
- Find the correct version
- Download installer
- Open the installer
- Go through the installation wizard
- Done
With Chocolatey, you can:
- Open command prompt
- Enter
choco install PowerToys -y
- Done
Sounds good? That’s because it is! Now let’s get Mendix Studio Pro available in Chocolatey by upvoting my idea on the forum.
6. Use the built-in Windows Snipping Tool to capture parts of your screen
Got a problem that you want to visualize? Use the Snipping Tool to capture parts of your screen in a screenshot. That way, you can keep your screenshots focused on the exact item that you want to share instead of sharing your entire screen. Simply press ⊞ Win + Shift + S
and drag to select the part of the screen you want to capture.
7. Improve your integration testing with Postman
One of Mendix’s strengths is its ability to integrate with many other systems. Integrations are a key part of many Mendix applications. However, troubleshooting a connection from within Mendix is often a hassle because of the configuration required to set it up. You can use Postman instead to perform web service calls to and from Mendix.
Postman also offers a collection runner, where you can configure a number of web service requests in a specific order. You can use this on top of unit tests for test automation:
I’m working on a blogpost about automated Mendixcloud deployments from Postman. Follow me on LinkedIn to be the first to hear about it!
8. Run a local mail server using FakeSMTP
Configuring an external e-mail server to work locally can be a nuisance. You might not have an internet connection, configuration settings change or you don’t want to have to reconfigure the e-mail server every time you switch databases locally. For these scenarios, FakeSMTP is a perfect solution. This lightweight Java package will run a local e-mail server that you can connect to in seconds. Because it is written in Java, you can use it on any operating system too!
9. Use Fiddler to analyze incoming and outgoing traffic
If you want to have more insight into what data is coming in and going out, Fiddler is a must-have tool. You can route all internet traffic through Fiddler to analyze in detail what requests are being made between your computer and external servers. Make sure to configure the Fiddler port as a proxy in your Mendix project settings so all traffic is properly routed through it!
10. Slack
Did you know there is an entire Mendix community available on Slack? This active community can help you out with problems. Find the Mendix Slack community here!