As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a desktop application framework similar to Rails:
Good ORM
MVC
Default directory structure
View Helpers/DSL
Elegant
Open Source
Fun language
Decently mature
Check out Griffon, a Grails-like framework for Swing application development that fulfills all your needs.
Have you checked out Shoes?
There is also Bowline. It was mentioned in ruby inside blog recently. I haven't tried it. Tried Shoes though. It is very simple.
There is another one called Anvil. Anvil is a MVC framework that wants to be equivalent to rails for GUI development. It is based on wxruby. Which makes me want to try it.
try Rebol, it's got the simplest gui that is out there. an example of a window with one text field, one button "click me" and a label "hello" :-
view layout [ field label "hello" button "click me" ]
or if you want it in multi line
view layout [
field
label "hello"
button "click me"
]
I've personally ended up using Swing/SWT + JRuby. The Java cross-platform GUI libraries are just light-years ahead because they're used for IDEs, which are about the most demanding application you can have for a GUI toolkit. It's nowhere near as elegant as Rails is for the web (and I'm no fan of Rails), but in the long run, it's a much better choice than anything based on wxWidgets or GTK or QT. It also gives you the option to drop into Java if you have a particular piece that's running too slow. I wish there were better options, but that's what we've got.
Monkeybars is the main solution I'm aware of, but it's not ideal from the point of view of your bullet list. Its "MVC" isn't really like any other interpretation of MVC that I've come across; it's more a convenience wrapper around Swing. At least, that's the way I use it.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm trying to create an application for the iPad but I would like to create a user interface with different styles and controls to those offered in xcode. I would like to create something with an interface like StumblUpon, Flipboard or any other applications that you can see over here http://www.iospirations.com/. I don't know if those kind of interfaces are created with custom controls or some kind of library. If any of you can give some pointers or directions for things to read or try I'll be very grateful. I don't think i can build an interface like those just dragging the standard controls...so that's why I'm completely lost here.
Thanks for your time!
It really depends on what you want to build specifically. You might customise some standard components using UIAppearance Proxy:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAppearance_Protocol/Reference/Reference.html
and some other components you would build from scratch, perhaps by stacking up several views and moving them around programmatically, with custom backing classes and logic. Move them around using UIView animations, or apply transforms to them using C drawing.
Another option might be to look at if there is any open-source components on GitHub that you could use/customize. iCarousel is a good example of this, take a look through the source code.
https://github.com/nicklockwood/iCarousel
Your question is very general, the bottom line is if you want a custom component you need to build it from scratch. I'd advise against doing too much of this, as it makes your code harder to maintain, harder to to keep inline with iOS updates, and usually includes doing loads of work to achieve roughly the same function that Apple gives you for free
Another good resource (not free though) - http://www.appdesignvault.com
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I recently switched to a Mac. I am trying to choose between Textmate 1.5 and Sublime Text 2 for Ruby on Rails development. I know these editors have a great deal in common from my own testing. I don't however see many differences as of yet. If you have experiance with both, can you please make a list of the differences between the two?
Please make any list without subjective comments as I'm not looking to start a flame war; only factual differences. There are many resources that list similarities -- please focus on the differences.
Thank you.
I come form Vim and try both TextMate 2 and Sublime Text 2 for a while. I like them both, but for different reasons.
I'm pretty sure you can make TextMate 2 act almost like Sublime Text 2 by plugins and setting, or vice versa. And they both have tons of gorgeous themes/plugins/snippets. So I just try to list the 'out of box' and potentials difference between them.
TM2:
Open source
Fine integrate with rails just out of box.
Switching between files with hotkey follow rails conventions.
Can move project list to the left.
Install plugin and adjust setting by GUI.
Run rails test in text editor out of box.
More build-in wrapping features.
Complete word by [esc] and add snippet by [Tab]
ST2:
Cross plateform
Ability to imitate some Vim behaviors.
Adjust setting by editing a json file. Less intuitive for GUI user, but can source control and transfer it easily.
Switching between files by Ctrl-P out of box.
Complete word and add snippet all by [Tab]
A 3rd party nice package manager.
Please correct me if any error or missing stuffs. And I think the best way is try them both for couple weeks, know the possibility and tune one of them upon your favorite work flow.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have achieved a beginner skills in mvc3 and now want to try next level.
I want to create a super simple CMS that has following features:
Support extensible skinning, i.e. start with some default dynamic skin and when change database setting for skin name, it should work with the new skin / theme
Dynamic pages loaded from database
partial view I think that can show available pages from database
Can somebody point me on how to get started? I tried to look into source code of orchard, and couple of other popular cms in mvc3 but because of lots of code, I am not just getting it properly to get started with.
Thanks in advance.
Don't worry about what other people are doing at the moment..
If this is just a learning exercise then you should look at what you want to do and then look at how to achieve that...
So your reqs are:
Extensible skinning (like themes in say WP?)
Dynamic pages
An admin area to manage pages
I guess the first thing is to get your areas setup if you want to do it that way.. (add an area for the admin section).
see here -> http://msdn.microsoft.com/en-us/library/ee671793.aspx
or
here -> http://mvccoderouting.codeplex.com/ -> this way could mean no need to set up areas... more detail on the page.
For the dynamic pages you are probably going to do something with routing a default controller.
do you reference the pages by id in the url... or do you have a key that makes up part of the url? that's one design choice you will have to make.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Am thinking about building a social networking site,that can function more like an application then a site,thus giving it better performance and user interface.
what am stuck up with here is which would be the best framework to try this out?
GWT-i have some experience(about 2 years) with Java and it looks easy but the forum appears dead.
Ruby on Rails- i visited the website today,went through a few tutorials and it looks easy to learn,but i never programmed on this 1 before.
Grails - i have heard that this is a very god framework and based on java,but i've never personally tried it.
What would you think would be the right choice?
it would be cool if you consider factors like performance,scalability and the widgets already available.I don't really care about the development time...i've got more than 2months!
Especially with a Java background, Grails would be a good choice. Grails is built on top of Spring and Hibernate, but makes using them much easier. No painful editing of XML config files.
Although, I'd make sure you evaluate using Ning and the existing open source projects before you bother building another one from scratch.
I'm not sure what you mean by "more like an application then a site". If what you mean is give the app a desktop application feel, then I think GWT fits more. Though if you want to have something really fast, (half the development time that you'd use to develop it in GWT), then I'd recommend rails. I haven't tried Grails before but it seems neat.
The best for you to use is ruby on rails if it about performance,scalability and the widgets
then you have no problem at all. It also has lots of gems/plugins that can help you so much
Read this book Grails in action.
It shows you how to make a social networking site using grails.
It uses an old version of Grails but you can adapt it.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm picking up jQuery and jQuery UI and I would like some suggestions on some practice exercises for learning the libraries.
I'm particularly interested in Ajax and anything that might be a little bit .net centric.
I acknowledge that the jQuery web site has lots of simple examples showing how to use all the individual function calls, but I'm interested in seeing how they work with more practical examples.
Games are always fun. I wrote a chess game to learn jQuery AJAX programming, which was complicated but cool. If you're looking for something simpler, perhaps Tic-Tac-Toe would be a good choice.
Rading jquery official documentation, tutorials as well as deploying your own code, just start low and go slow, after all the bugs and doubts, tons of google searches and SO browsing you will be a guru. I think it is the best way, probably not the most productive. As someone said: the expert is one who had a lot of errors on the way and learnt from them.
So start coding now!
If you want ajax: search for getJSON() function first, I think it is the best step to start learing client-server interaction.
PS: also some good javascript book is also good for you, whiule jquery allow a big deal of abstraction it is still based on javascript.
If you still want some links, here you go:
Getting started with jquery
Jquery for beginners
A good way to pickup jQuery and AJAX is to just build websites. Setup a local web server with MAMP/WAMP/XAMPP and just start building / designing whatever kind of pages you want to.
If you're short on design inspiration, try to reverse engineer existing websites / web apps without looking at source code.
Something simple I used to do with dynamic code generation was to make an etch-a-sketch type page..
Make an X by X grid of pixel-like blocks, and give them all a hover effect of changing their color.. maybe change it each time it's hovered to something else.. play around with that concept a bit and add enhancements and features..