On Jun 15, 2016, at 10:06 AM, Flavio Donadio < email@hidden> wrote:
Yuri,
I can’t say much right now, as the video is not available. And, even after I watch the video, I may still be unable to add anything to this conversation, as my knowledge lack a lot. :D
From what I understand, one could write server-side applications in any language. For web apps, it’s necessary to integrate said language with an HTTP server — through CGI, Apache module or whatever. Apache is pretty much standard. I tend to think “mod_swift.so” would be the best solution now...
Still, for something like WebObjects to be “ported” over to Swift, there’s a lot to be done. The Enterprise Objects Framework is what makes it so nice and easy to write WO apps and it is, by far, the larger part of the code base. And then there’s wotaskd, the database connectors…
When I tried to port TYF to iPhone and Objective-C and AJRDatabase, that's what I ran into. I wrote an adaptor for SQLite, that worked, and got the Model into the iPhone and that worked, database reads into EO classes worked. But when I tried to track (I did re-write some of AJRDatabase) an error in the update cycle within EOModel I got busted, it broke me.
And I did not find the port of my Java, there's a lot of business logic, into Objective-C, which I had never used before, to be that hard. I would expect Swift to be better? I don't think wotaskd would be hard to do.
I am sure I am missing something, but I don’t see where a programming language would help us. Even if it is incredibly better than Java, which is a whole different conversation, with very different opinions, I am sure. ;)
Still, hope springs eternal.
Cheers, Flavio
On 15/06/2016, at 03:04, Yuri Kondratov < email@hidden> wrote:
For those that have not noticed this:
Going Server-side with Swift Open Source
While the Swift language makes it easy to write software that is incredibly fast and safe by design, Swift being open source means you can use it on an even broader range of platforms, from mobile devices to the desktop and in the cloud. Come for an overview of available projects at Swift.org and examples of the community in action.
|