Web Developer wants to learn desktop programming
I'm a web developer (Java and ColdFusion) who would l开发者_JAVA百科ike to learn to program some simple desktop apps. Most of these would be for Windows, but it would be cool to program in something that can be cross platform.
I've never really been fancied desktop programming in Java although I'm open to giving it another go. Any advice on what might be a good place to get started?
Personally I would look at something like Adobe AIR (Flex), Silverlight (.NET), Cappuccino or another RIA framework.
Many software houses are looking at things exactly the other way round to you right now: how can we get our desktop applications on the web? Or even better, how can we write one set of code that works across all the platforms we wish to target?
All of these frameworks / toolsets will let you write one set of code and deploy to many different platforms with little or no extra effort. If you know Java you shouldn't find them too much of a leap from where you are now.
You could learn ASP.NET for web development (since you already have a web dev foundation) and then easily apply many of the same ideas to making desktop applications. There are a lot of similarities and you'd be using the same powerful IDE (Visual Studio).
I have assisted in teaching a course on web programming with ASP.NET using this book to students with Java and basic web development (HTML/JS) background, and after the course they were able to use C# to make desktop applications as projects for other courses.
I think the best way to learn something, if you're starting from scratch, is to get a book with exercises and work your way through it.
Alternatively, if you have a specific project in mind, you might be able to get by with whatever free tutorials you find on the Internet.
Either way, having something to work toward (the exercises or your own project) is the best way to learn something, in my opinion.
I don't have any specific books or websites to recommend, though, because it's been a long time since I've looked at any intro to desktop programming books so my advice would be out of date. Also, you haven't been too specific about what you want to accomplish, so it's hard to know where to start. That said, if you already know web programming, I don't think it matters too much which book you choose, as long as it guides you toward building something.
Try RealBasic. It is cross-platform and easy to learn. For desktop applications, it is a good platform.
精彩评论