Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brilliant HTML interfaces with (VFP)-Sciter
Message
 
 
To
06/07/2017 09:23:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01651969
Message ID:
01652541
Views:
116
>>
>>Cetin, I was not family with GoLang, can you give some examples of "stuff" you find Go helpful with? It is suited well for Desktop and also Web?
>
>IMHO for Web, Go is the way to go < g >.
>
>For desktop, it doesn't have a framework of itself. There are others though, like Qt (open source, works on any platform), GTK, electron (node.js based, turns a web UI based to desktop app). Since it is relatively young language + coming from google + google has made a recent survey on usage, I expect it to be much better in that regard too soon.
>
>I like Go because, it is easy, fast, compiles to almost any platform (basically windows, macOS, linux. Also has support for other platforms including mobile - raspberry, ardunio, iOS, android ...). I am actively using VFP and C# in my daily life and still trying to learn Go myself. Today's great projects have Go behind (i.e.: Docker, Dropbox, Kubernetes, youtube - youtube solved their increasing scalability problem with mySQL using Go -you can check or get the open source project Vitess or listen to about how they solved their scaling problem on youtube-). Open source and any text editor works (of course there are editors on steroids with intellisense and all the other stuff like liteIDE, sublime Text, Gogland ... Gogland is in early access program -EAP- and will be a paid editor when released. I liked that one most and using it on my windows and mac machines).
>
>Creating basic "hello world" web server is literally under 30 seconds (and it works! - no wonder Google knows net stuff much better than many. Go as an open source project, has over a thousand contributor developers). You can download go and write this in notepad and try :)
>
>
>package main
>
>import (
>	"net/http"
>	"fmt"
>)
>
>func main() {
>	http.HandleFunc("/", helloWorld)
>	http.ListenAndServe(":8080",nil)
>}
>
>func helloWorld(w http.ResponseWriter, r *http.Request) {
>	fmt.Fprint(w,"hello world")
>}
>
>
>Assuming filename is main.go, you could run this either:
>(this one doesn't build an executable - does that behind the scenes)
>go run main.go
>
>OR:
>(this one builds executable)
>go build main.go
>
>compiles it into executable main.exe and you can run it (if you are on a windows machine). You could also build a Mac OSX or Linux executable and it takes changing 2 parameters only.
>
>Then go to localhost:8080 in your browser to see the "hello world". Interesting part is that, extending from this simple "hello world" to something much more sophisticated is easy (especially if you have tortured yourself enough with something like ASP.Net MVC - I did and still doing :( ). This is default net/http package out of the box. Needless to say there are many open source web frameworks (currently I am checking Gin).
>
>I can't express how happy I am with Go (hoping to make it my next development language and tool, it needs time to learn and I am trying). You could at least try it online at golang.org (my signature link takes you there). (or can make a short show case at night time online - say after 3 PM EST if you want to and can bear with a Go newbie:).

Nice... thank you so much for the thoughts. I notice it evidently can integrate with SalesForce and that is attractive to me.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform