Hi
I am planning to develop data entry web application which provides a consistent web interface to its users. Previosuly I have developed it in windows as a desktop application and now I want to convert it into a web application. I do have understanding of writing REST API, backend development in GoLang.
However I do not have much knowledge on developing web clients.
I am thinking to develop a REST api for this application and access these API from web interface client and in future if needed, I can easily switch to other clients/front end technology.
As this application is pretty common requirement, Could you guys please suggest me which front end technology I should go for and best practices involved in these kind of data entry intensive web applications?
Also my Priority is learn more on :
- Golang for back end application
- Learn a good front end technology so that I can develop application end to end on my own for my freelance projects.
- Learn all the user management, session handling, web sockets concepts using golang.
Looking forward to you guys for valuable suggestions.
Thanks
评论:
BitRateChaos:
darkmagician2:Definitely give Vue.js a try. It's got a tolerable learning curve, all the (optional) tools you'll need for routing and state management and a chrome extension to help with debugging.
nkumar15:This isn't really the place to discuss front end technologies but many people here use Polymer, a Web Component library by Google https://www.polymer-project.org
darkmagician2:Thanks darkmagician, I will look at it. Actually the reason I asked this question here is to understand how gophers are using golang with front end technology. Becuase most of the examples which I see with golang is based on html/template library and at the same time golang ideology is to not use any web frame work.
With html/template approach, I felt like it will be very time consuming if I am require to use templates for this data entry forms.
May be I am wrong as I am new to golang, but initially I am finding it bit difficult to grasp things with templates.
nkumar15:A RESTful design where your Go backend serves JSON up to your Polymer frontend seems like would be a great option for you. On the Polymer side you would use <iron-ajax> to interact with the REST server. Just be aware Polymer 2 is officially releasing in the next few weeks, right now it's in release candidate
Antshockey:Its really a helpful information. thanks..
markrwest:I use EmberJS for my front ends.
It has a bit of a learning curve but once you get past it, it is a fantastic framework if used alongside Ember Cli
FourSigma:gobuffalo.io is a "rails-like" web application development framework that was used to create the gopheracadamy.com website. I can't give a true recommendation because I am only just starting to use it, but the reviews are good. Even if you don't use it, you may look at it to see an example of front-end development in a golang context.
For a quick MVP, I would do Vue.js. Long term I would go with Angular 2. It has Typescript support baked in and it has all the perks (and downsides of course) of a framework.
