Re: Going Server-side with Swift Open Source

2016-06-18 Thread Lars Sonchocky-Helldorf

> Am 15.06.2016 um 08:04 schrieb Yuri Kondratov :
> 
> For those that have not noticed this:
> 
> 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 
>  and examples of the community in action.
> 
> WWDC 2016 - Session 415

In this session they’re introducing the Kitura Framework done by IBM:

https://github.com/IBM-Swift/Kitura 

As of now I didn’t have a closer look (besides watching above video) so I can’t 
say what this framework is like.


Have fun!

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

This email sent to arch...@mail-archive.com

Re: Installation on Ubuntu won't work at Linode with Apt

2016-06-18 Thread Pascal Robert

> Le 18 juin 2016 à 13:11, Pascal Robert  a écrit :
> 
> 
>> Le 18 juin 2016 à 12:36, Pascal Robert  a écrit :
>> 
>> 
>>> Le 18 juin 2016 à 11:45, Pascal Robert  a écrit :
>>> 
>>> FYI, in preparation of my presentation, I’m using two VMs at Linode, and I 
>>> just found out that using the Apt packages won’t work, because the hfsplus 
>>> module is not present, so it won’t be able to mount the DMG for WO 
>>> installation.  Adding the kernel module doesn’t work because it’s a Linode 
>>> supplied kernel, and extra modules won’t load.
>>> 
>>> I will try to switch to a distribution-supplied kernel to see it if works. 
>>> But it should, because it worked on a VM on my local Promox box.
>> 
>> Generic kernel didn’t work too.
> 
> And it’s not working on AWS either. I’m in deep shit for my presentations…

It works fine with a full installation in VMWare Fusion. I don’t think the 
Debian/Ubuntu packages should install the WebObjects frameworks, and that would 
fix the issue. Discussion to have at WOWODC.


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

This email sent to arch...@mail-archive.com

Re: Going Server-side with Swift Open Source

2016-06-18 Thread Baiss Eric Magnusson

> On Jun 15, 2016, at 10:06 AM, Flavio Donadio  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 > > wrote:
>> 
>> For those that have not noticed this:
>> 
>> 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 
>>  and examples of the community in action.
>> 


Baiss Eric Magnusson
Cascade Web Design 


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

This email sent to arch...@mail-archive.com

Re: Installation on Ubuntu won't work at Linode with Apt

2016-06-18 Thread Pascal Robert

> Le 18 juin 2016 à 12:36, Pascal Robert  a écrit :
> 
> 
>> Le 18 juin 2016 à 11:45, Pascal Robert  a écrit :
>> 
>> FYI, in preparation of my presentation, I’m using two VMs at Linode, and I 
>> just found out that using the Apt packages won’t work, because the hfsplus 
>> module is not present, so it won’t be able to mount the DMG for WO 
>> installation.  Adding the kernel module doesn’t work because it’s a Linode 
>> supplied kernel, and extra modules won’t load.
>> 
>> I will try to switch to a distribution-supplied kernel to see it if works. 
>> But it should, because it worked on a VM on my local Promox box.
> 
> Generic kernel didn’t work too.

And it’s not working on AWS either. I’m in deep shit for my presentations…

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

This email sent to arch...@mail-archive.com

Re: Installation on Ubuntu won't work at Linode with Apt

2016-06-18 Thread Pascal Robert

> Le 18 juin 2016 à 11:45, Pascal Robert  a écrit :
> 
> FYI, in preparation of my presentation, I’m using two VMs at Linode, and I 
> just found out that using the Apt packages won’t work, because the hfsplus 
> module is not present, so it won’t be able to mount the DMG for WO 
> installation.  Adding the kernel module doesn’t work because it’s a Linode 
> supplied kernel, and extra modules won’t load.
> 
> I will try to switch to a distribution-supplied kernel to see it if works. 
> But it should, because it worked on a VM on my local Promox box.

Generic kernel didn’t work too.

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

This email sent to arch...@mail-archive.com

Re: Going Server-side with Swift Open Source

2016-06-18 Thread Chuck Hill
I’ve used it a bit.  I was doing some async work and between that and Kotlin it 
took some effort to get used to.  I liked the language, It is used a lot with 
Android.



From: Ricardo Parada 
Date: Saturday, June 18, 2016 at 9:07 AM
To: Chuck Hill 
Cc: Yuri Kondratov , WebObjects-Dev 

Subject: Re: Going Server-side with Swift Open Source

It looks very interesting. Has anybody played with it? I get the impression 
that it's brand new. It could help mitigate Swift envy. :-)

Thanks for sharing Chuck.

On Jun 16, 2016, at 3:48 PM, Chuck Hill 
mailto:ch...@gevityinc.com>> wrote:
Not to mention the enormous selection of Java libraries.  If you really don’t 
like Java, try Kotlin (https://kotlinlang.org) which does run on the JVM and is 
very similar to Swift.

Chuck


From: 
mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>>
 on behalf of Ricardo Parada mailto:rpar...@mac.com>>
Date: Thursday, June 16, 2016 at 12:12 PM
To: Yuri Kondratov mailto:yuri.kondra...@icloud.com>>
Cc: WebObjects-Dev 
mailto:webobjects-dev@lists.apple.com>>
Subject: Re: Going Server-side with Swift Open Source

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 
mailto:yuri.kondra...@icloud.com>> 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 
mailto:fla...@donadio.com.br>> 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 
mailto:yuri.kondra...@icloud.com>> wrote:

For those that have not noticed this:

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 and examples of the community in action.

WWDC 2016 - Session 415




It was also mentioned in the currently available "What's New in Swift" at 9:55

https://developer.apple.com/videos/play/wwdc2016/402/
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br

This email sent to fla...@donadio.com.br

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com

This email sent to rpar...@mac.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Sub

Re: Going Server-side with Swift Open Source

2016-06-18 Thread Ricardo Parada
It looks very interesting. Has anybody played with it? I get the impression 
that it's brand new. It could help mitigate Swift envy. :-)

Thanks for sharing Chuck. 

> On Jun 16, 2016, at 3:48 PM, Chuck Hill  wrote:
> 
> Not to mention the enormous selection of Java libraries.  If you really don’t 
> like Java, try Kotlin (https://kotlinlang.org) which does run on the JVM and 
> is very similar to Swift. 
>  
> Chuck
>  
>  
> From:  on behalf 
> of Ricardo Parada 
> Date: Thursday, June 16, 2016 at 12:12 PM
> To: Yuri Kondratov 
> Cc: WebObjects-Dev 
> Subject: Re: Going Server-side with Swift Open Source
>  
> 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  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  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  wrote:
>  
> For those that have not noticed this:
>  
> 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 and 
> examples of the community in action.
>  
> WWDC 2016 - Session 415
>  
> 
>  
>  
> It was also mentioned in the currently available "What's New in Swift" at 9:55
>  
> https://developer.apple.com/videos/play/wwdc2016/402/
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br
> 
> This email sent to fla...@donadio.com.br
>  
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com
> 
> This email sent to rpar...@mac.com
>  
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Installation on Ubuntu won't work at Linode with Apt

2016-06-18 Thread Pascal Robert
FYI, in preparation of my presentation, I’m using two VMs at Linode, and I just 
found out that using the Apt packages won’t work, because the hfsplus module is 
not present, so it won’t be able to mount the DMG for WO installation.  Adding 
the kernel module doesn’t work because it’s a Linode supplied kernel, and extra 
modules won’t load.

I will try to switch to a distribution-supplied kernel to see it if works. But 
it should, because it worked on a VM on my local Promox box.

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

This email sent to arch...@mail-archive.com