3 ms·
If anyone thinks local dev with Java/Kotlin is hard they haven't tried it in the last decade. The years of WARs and application servers are long since gone, eve
by jpgvm 5y ago
If anyone thinks local dev with Java/Kotlin is hard they haven't tried it in the last decade. The years of WARs and application servers are long since gone, every framework you would interact with (Spring etc) are self-hosting, i.e even easier than PHP because you don't need a web server, you don't need to know what FastCGI is, etc.
If you pay for a host that has all this setup and SCP/FTP your files to it sure, but is that -really- easier than the local dev experience vs the Sprint Boot starter pack? I don't think so.
- conradfr 5y agoPHP has a built-in webserver for local dev.
- Zababa 5y agoIt's harder than downloading WAMP, launching it and editing PHP files.
- jpgvm 5y agoIt's not. https://www.jetbrains.com/help/idea/spring-boot.html https://www.jetbrains.com/help/idea/spring-boot.html i.e Download IntelliJ, select Spring Boot, follow prompts to create project, press green button to run app. Click link in build output to open in browser, edit files for live reload. To get equivalent usefulness out of PHP you would also need Laravel or some other framework, which if you want to do properly you also need Composer, etc. Ease of development is one area where Java is king these days, a LOT has changed in the last decade.
- Zababa 5y ago> i.e Download IntelliJ, select Spring Boot, follow prompts to create project, press green button to run app. Click link in build output to open in browser, edit files for live reload. You're right, they are now at the same point in terms of ease of development. Deployment is close too (fat jar vs php files), though PHP still has shared hosting. And sure, Spring boot has more things that vanilla PHP.