which way should I choose for app development ?
Show older comments
Hi,
I am making on app.
How can I decide that which way should I use from following ways :
- GUIDE
- Porgramatically
- App Designer
On the bases of which factor should I take the decesion
1 Comment
Muhammad
on 31 Dec 2024
When choosing a way for app development, consider these options:
- Native App Development: Build separate apps for iOS and Android. Offers better performance and user experience, but requires more time and resources.
- Cross-Platform Development: Use a single codebase for both platforms. Faster and cost-effective, but may have limitations in performance or features.
- Web App Development: A browser-based app that works on any device. It's quick to develop, but may not offer the same performance or user experience as native apps.
Accepted Answer
More Answers (1)
Walter Roberson
on 16 Aug 2021
1 vote
The choice of GUIDE vs App Designer is easy:
If you do not have much graphics experience, and your needs are not complicated, and you are using an older release like you are (R2017a), then you should use GUIDE for the first while. GUIDE is a mess to do detailed GUI in, but as a starting point, it is useful .
If your needs are more complicated (such as needing to be able to reflow sections as the user resizes), and you are using an older release like you are, then you should write the code yourself.
If you are were using R2021a or later, then GUIDE would not be an option, and in that case you would have to consider whether the execution slowness and editor crawling and the limitations of using App Designer are worth putting up with for the nice parts it does have.
App Designer in your version (R2017b) was not very developed and did not yet have some important performance improvements; the only reason to use it back then is that it made some things easier, and the fact that GUIDE was going away was already known back then.
In current versions (R2021a), the reports I read imply that App Designer is unusable for larger projects at this time: by 3000 lines, editor response is reportedly often in the minutes range.
"The choice of GUIDE vs App Designer is easy, you should definitely use App Designer"
Only if that is followed by "... for your toy apps where your development is more of a learning experience to get you ready for future use, rather than if you need to build something that people will actually use."
... If it sounds like I am contradicting @Dave B in my answer, it is because I am contradicting him. App Designer is Not Ready For Prime Time, and is unlikely to be for at least two years.
App Designer is currently, at its best, like going back to dial-up.... to another country.
6 Comments
Dave B
on 16 Aug 2021
@Walter Roberson makes important and good points, and I certainly don't disagree that there's work to do on App Designer. I think my recommendation was largely driven by the concern about investing in a technology that will be removed in a future release. I certainly should have paid attention to which release @Kaustubh hike was using, and perhaps included a bit about the target users and what release they are/will-be using. I hope we can get App Designer to a state where it doesn't "feel like dial-up" and that we can do that soon!
Walter Roberson
on 16 Aug 2021
The entire MATLAB class system has to have much higher performance before App Designer can thrive. Progress does get made on improving the class system... but you already worked on optimizing classes, and you already worked on optimizing the Execution Engine, and although the old stones may yet have some blood to give, I think it is going to be pretty hard for Mathworks to double (or more) the class performance.
@Dave B and @Walter Roberson, I am getting ready to start a major GUI development which could become complicated. I have done smaller GUIs programmatically in the past, but have never used the App Designer. Would you be so kind as to update your current thoughts (wrt R2024a)? Obviously I would not be considering GUIDE. Thank you both (or others) for any advice you can provide.
Walter Roberson
on 21 May 2024
Although the performance of App Designer has improved, I still have serious reservations about its performance... in particular the time taken to open a uifigure is too long for App Designer to be considered as anything other than a novelty.
Craig
on 21 May 2024
Thanks Walter!
Dennis Premoli
on 27 Jun 2024
Edited: Dennis Premoli
on 27 Jun 2024
I find myself disagreeing with @Walterio Mayol-Cuevas. I have been using App Designer extensively for 2-ish years on a project now involving ~7.5k lines of code, multiple tabs, loging credentials, calling secondary apps and plotting and procesing live data streams. Besides some bugs and kinks that have been worked out in part throughout the sub-releases, I really cannot imagine being where I am now, in so little time, having started from 0 UI making knowledge, let alone GUIDE.
Sure, it's not the speediest of things and it could use a little more stability when doing certain tasks (that may also be my programing skills showing :) but I can't even imagine having to manually create layouts and components. I simply would have never even apporached my current project and it would never have been done.
In general I think @Craig should absolutely consider App Designer for his project, especially considering the constant updates, support and development it has been receiving since its inception.
Categories
Find more on Variables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!