Hi Lars, > Am 21.01.2021 um 23:54 schrieb [email protected]: > > Hi Nikolaus, > >> Am 21.01.2021 um 21:54 schrieb H. Nikolaus Schaller <[email protected]>: >> >>> >>> Am 21.01.2021 um 19:49 schrieb Ivan Vučica <[email protected]>: >>> >>> On Tue, Jan 19, 2021 at 7:23 PM H. Nikolaus Schaller <[email protected]> >>> wrote: >>>> Well, my dream is to write WebApps in Obj-C using OpenSTEP classes. >>>> I.e. button = [[NSButton alloc] initWithTitle:@"press here"]; and have >>>> the GUI class NSButton emit the necessary HTML+CSS+JS to present it to >>>> the user so that he can press the button in his browser. So use the MVC >>>> model in the App completely hiding that the user-interaction goes through >>>> https (on a very abstract level there is no big difference between http >>>> and X11 protocols connecting a server over the network with a display >>>> and a keyboard). >>>> >>>> This could be achieved by a compiler from Obj-C to PHP or directly to >>>> PHP byte-code... >>> >>> No translation into PHP needed. Simply implement an API in whatever >>> language pleases you, >> >> What about Objective-C? > > If you want to use ObjC for Webapps why not using one of the oldest (since > 1996) long time ago invented WebObjects or, if you want to have it the GNU > way, GNUstepWeb? It has been there for a long time right at your fingertips.
Well, I was incomplete because it was only a statement about language: I want to write all my apps in OpenSTEP classes and frameworks + Obj-C. The benefit is that you need to write App logic only once. For Server+Browser, for Desktop, for Mobile. Why have 10, if one toolbox and set of building blocks suffices? At the moment with mySTEP.php I only have OpenSTEP classes and frameworks + PHP. Hence the wish for automatic Obj-C -> PHP translation to make PHP an internal intermediate language and implementation detail. GNUstepWeb would give me other classes and paradigm + Obj-C and Server+Browser only. Cappucino would give me other classes and paradigm + Obj-J and Server+Browser only. Other approaches would give me other classes and paradigm + other language and Server+Browser only. But all this doesn't help Greg to host gnustep.org. BR, Nikolaus
