Re:frothkit - Objective-C Web Application Framework
by yoda_sl on Sunday December 02, 2012 @11:22AM
(#4861583)
If I was to develop some web framework in Objective-C I will at least try to mimic the WebObjects framework which has some great concept behind it.
The main grief against WebObjects that should be avoided is that the framework layer to access the database aka EOF (Enterprise Objects Framework) was never designed to use a connection pool nor work nicely in a multi-threaded environment.
Sadly Apple stopped the development of that web solutions years ago and kept it for itself... I heard from various folks at Apple that there are still a few engineers improving it and it is being used a lot for iTunes.
WebObjects got some bad reputation from many people that have no clue on how it works and citing that WebObjects can't even support database update and this why the Apple Online Store is often offline when Apple release a new product. This is total BS of course, since take the iTunes AppStore which serve the content for all stores: music, apps, books, movies, etc... And you barely see that iTunes Store is offline.
WebObjects was a great technology but Apple decided to keep it for itself.
Re:frothkit - Objective-C Web Application Framework
by bonaldi on Monday December 03, 2012 @07:54AM
(#4865160)
It hasn't kept it for itself, it is still submitting patches and releasing new versions. The toolchain is no longer supported, but Apple also provides patches to the open-source toolchain.
Lots, lots more at http://www.wocommunity.org/page/default but as others have said -- this is essentially a (very nice) Java framework with some Eclipse tool support.
What I really miss is the Objective-C framework, with EOF, and native Mac tools, bindings etc.
Re:frothkit - Objective-C Web Application Framework
by danpalmer on Sunday December 02, 2012 @11:58AM
(#4861702)
Looks like this hasn't been updated since 2010, and it's website doesn't load. Also the underlying Cocoa port looks like it hasn't been updated since 2008.
I think we need a totally new Objective-C framework for web development based on newer design patterns, GCD, etc, but it needs a new port of Foundation and Cocoa to Linux and other systems.
As much as I'd love an Objective-C web framework, I wouldn't use one that only ran on Mac OS, pretty useless in terms of production hosting I think.
Re:frothkit - Objective-C Web Application Framework
by yoda_sl on Sunday December 02, 2012 @12:06PM
(#4861744)
Agreed that if there was a modern WebObjects it should support GCD, and be at least available on Linux too.
WebObjects back in the days was running on 4 different platforms: OpenStep, Windows NT, Solaris and HP-UX. so clearly the runtime was cross platform and it was relying only on the Foundation framework at runtime. None of the Cocoa framework was needed to deploy such app.
Apple moved away from different binaries per platform by switching everything to Java which solve the portability question, and additionally solved the database connectivity issues since by bring a java solution any JDBC driver available to talk to a DB will work with WebObjects.
Overall the move to java was a good move, but Apple stopped the investment in the software that NeXT created and went back to focus on desktop and devices... But they kept WebObjects internally for their own benefits I think.
Re:frothkit - Objective-C Web Application Framework
by yoda_sl on Sunday December 02, 2012 @02:33PM
(#4862209)
No Cocoa was not available on those platform. OpenStep was running on NeXT OS, and was available from NeXT on the Windows platform.
NeXT and Sun worked on getting OpenStep running on Solaris but Sun did drop the ball and switched direction by going with Java.
OpenStep was never available on HP-UX, only WebObjects and PDO were truly cross platform before the switch to Java. PDO=Portable Distributed Objects which was an alternative to Corba back when Corba was such a big trends.
Re:frothkit - Objective-C Web Application Framework
by yoda_sl on Sunday December 02, 2012 @04:33PM
(#4862604)
I think the Apple doc is slightly inaccurate: the OpenStep part which include a graphic user interface was not available on HP-UX but the non graphic part: WebObjects, Enterprise Objects Framework, and Portable Distributed Objects was available.
Looks like Wikipedia has avoid history of OpenStep:
http://en.wikipedia.org/wiki/OpenStep
Re:frothkit - Objective-C Web Application Framework
by mikeash on Sunday December 02, 2012 @05:09PM
(#4862733)
Searching around, I find quite a lot of pages that mention NeXT's implementation of the OpenStep API for HP-UX, but none that mention that it's only the non-GUI parts. Are you sure?
Re:frothkit - Objective-C Web Application Framework
by jrajav on Sunday December 02, 2012 @11:11AM
(#4861550)
Not entirely related (though I think someone actually is working on a web framework for it): ObjFW [1][2] is an Objective-C framework and runtime that provides Cocoa-like classes and methods, but with more open-sourceness and portability. It even runs on Raspberry Pi!
Re:frothkit - Objective-C Web Application Framework
by tangue on Sunday December 02, 2012 @10:41AM
(#4861478)
You might be too young. Webobjects were all the rage amongst hipsters in the second part of the 90s. I was eighteen and worried about that, fortunately C-shell, ASP, Perl and PHP came to save us.
Sadly Apple stopped the development of that web solutions years ago and kept it for itself... I heard from various folks at Apple that there are still a few engineers improving it and it is being used a lot for iTunes. WebObjects got some bad reputation from many people that have no clue on how it works and citing that WebObjects can't even support database update and this why the Apple Online Store is often offline when Apple release a new product. This is total BS of course, since take the iTunes AppStore which serve the content for all stores: music, apps, books, movies, etc... And you barely see that iTunes Store is offline.
WebObjects was a great technology but Apple decided to keep it for itself.
Lots, lots more at http://www.wocommunity.org/page/default but as others have said -- this is essentially a (very nice) Java framework with some Eclipse tool support.
What I really miss is the Objective-C framework, with EOF, and native Mac tools, bindings etc.
I think we need a totally new Objective-C framework for web development based on newer design patterns, GCD, etc, but it needs a new port of Foundation and Cocoa to Linux and other systems.
As much as I'd love an Objective-C web framework, I wouldn't use one that only ran on Mac OS, pretty useless in terms of production hosting I think.
Apple moved away from different binaries per platform by switching everything to Java which solve the portability question, and additionally solved the database connectivity issues since by bring a java solution any JDBC driver available to talk to a DB will work with WebObjects.
Overall the move to java was a good move, but Apple stopped the investment in the software that NeXT created and went back to focus on desktop and devices... But they kept WebObjects internally for their own benefits I think.
[1]: https://webkeks.org/objfw/
[2]: https://github.com/Midar/objfw (Mirror)
Midar doesn't slack around when it comes to portability. :)
[1]: https://github.com/mattstevens/RoutingHTTPServer
[2]: https://github.com/robbiehanson/CocoaHTTPServer
frothkit looks wrong, reminds me a bit of asp.net.