Hi -

I’ve been following Swift’s evolution in the swift-evolution mailing list.  As 
it exists today on the server is still lacking some key features needed to 
implement key-value-coding.

There is a MIrror class that allows you to see the property names of a class 
(or even a struct) and get the value of each property.  But it only works for 
properties.  It does not work for methods in your objects.  In addition, it is 
read-only, i.e. you can get the values but you cannot set properties.

Hopefully by Swift 4 or 5 those features will arrive.  But they are not there 
in Swift 3.

On Apple platforms they are able to use CoreData because they are leveraging 
Objective-C run-time.  However, the Objective-C run-time is not available on 
the server.

Ricardo Parada



> On Jun 15, 2016, at 3:50 PM, Yuri Kondratov <[email protected]> wrote:
> 
> I'm just hoping maybe apple will hint at a server side framework written in 
> swift they will be releasing to the public :)
> 
> On Jun 15, 2016, at 1:06 PM, Flavio Donadio <[email protected] 
> <mailto:[email protected]>> 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…
>> 
>> 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 protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> For those that have not noticed this:
>>> 
>>> https://developer.apple.com/videos/play/wwdc2016/415/ 
>>> <https://developer.apple.com/videos/play/wwdc2016/415/>
>>> 
>>> 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 
>>> <http://swift.org/> and examples of the community in action.
>>> 
>>> WWDC 2016 - Session 415
>>> 
>>> <Screen Shot 2016-06-15 at 1.58.00 AM.png>
>>> 
>>> 
>>> It was also mentioned in the currently available "What's New in Swift" at 
>>> 9:55
>>> 
>>> https://developer.apple.com/videos/play/wwdc2016/402/ 
>>> <https://developer.apple.com/videos/play/wwdc2016/402/>_______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected] 
>>> <mailto:[email protected]>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br
>>>  
>>> <https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br>
>>> 
>>> This email sent to [email protected] <mailto:[email protected]>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to