necolt
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Monday February 22, 2016 @06:07AM (#11149996)
Not everything else, Rust, OCalm just to name a few. Maybe it's just recent hype of such languages, but it definitely fits very well in some situations.
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Sunday February 21, 2016 @04:29PM (#11146643)
Swift concurrency is interesting topic for sure, looks like language isn't actually built around concurrency unlike other popular new languages these days. Interesting document here about Swift concurrency https://github.com/apple/swift/blob/master/docs/proposals/Co...
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Sunday February 21, 2016 @03:48PM (#11146439)
Seivan, thanks for your gist. I also tried to make controllers more protocol oriented, but it didn't help much with nice DSL for filters. Let's keep trying, maybe something beautiful will born soon. I would love to see you Swifton fork with your experiments.
I think Ruby is both strength and weakness of Rails. From my 10 years experience with large scale and large codebase Rails projects I can say that Ruby dynamism helps in web development. But for sure it comes with really high price tag.
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Sunday February 21, 2016 @01:58PM (#11145893)
I believe DHH first started to use "Omakase" term in Rails context, so his blog post and discussions afterwards is good place to check. You can alse check original Omakase https://en.wikipedia.org/wiki/Omakase .
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Sunday February 21, 2016 @01:45PM (#11145816)
Re:Swifton: Ruby on Rails-inspired web framework for Swift
on Sunday February 21, 2016 @01:21PM (#11145695)
Seivan, thanks. Yes, Rails "Omakase" is driving Swifton development.
I'm not sure that protocols will help here, because Swifton supports before/after filter. Could you explain more your idea about how protocols could help here to implement actions with filters?
Re:Vapor: a type-safe web framework for Swift
on Sunday February 21, 2016 @01:05PM (#11145599)
Frameworks. Frameworks Everywhere.
If you like Ruby on Rails you will like Swifton for Swift https://github.com/necolt/Swifton .