• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Webobjects-dev Digest, Vol 10, Issue 389
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webobjects-dev Digest, Vol 10, Issue 389


  • Subject: Re: Webobjects-dev Digest, Vol 10, Issue 389
  • From: Johnny Miller <email@hidden>
  • Date: Mon, 17 Jun 2013 12:14:47 -1000

Hi John,

I definitely agree it's not the most efficient (or even an efficient) way to do it.  But the problem I'm trying to solve is how do you get one of the _javascript_ frameworks to play nice with component actions?

It seems like the dilemma is if you want an "app like" UI you need to completely buy into a solution that has a _javascript_ client with a REST backend.  I'm just wondering if there is some kind of middle ground where you can enhance the existing Ajax framework which lets you use component actions and D2W to give it a little more app quality to it.  It'll never be as good as these other frameworks but it's an incremental improvement of what we have now.

best,

Johnny

On Jun 17, 2013, at 11:59 AM, John Huss <email@hidden> wrote:

Making a server round-trip to update your UI in real time in response to a mouse event is, at best, inefficient.  This sort of thing should be done client-side (read: in _javascript_) unless you have a special security concern or an algorithm that can only realistically be performed on the server.


On Mon, Jun 17, 2013 at 2:51 PM, Johnny Miller <email@hidden> wrote:
Thank you Samuel, that's very interesting.  On something like editing a pages document or a spreadsheet - do you think the browser sends every change to the server where the document's "state" is maintained?  Or do you think it builds the document locally and periodically sends the changes to the server?  I haven't tried it yet - do you know if you can work with the iCloud versions of iWork offline?

As a side note (OK complete tangent) I've been thinking a lot about Project Wonder's Ajax framework and your comment kind of reminds me about an idea I had for creating an ajax element component.  The ajax element would work like the ajax slider where every change (even keystroke) sends a async request to the server to update the bound object with the new value.  Then the ajax element could broadcast a custom event to the other objects in the browser that it's value has changed.  Other ajax elements like ajax update containers could subscribe for that event and when they receive it initiate their own request to the server to see if their value has changed.  This way Wonder could imitate the bidirectional communication that you see in other frameworks i.e. http://montagejs.org/docs/data-binding.html

Sorry to go off on a tangent like that but it's been what I've been thinking about this weekend and I haven't had anybody to discuss it with ;)

Best,

Johnny


On Jun 17, 2013, at 4:34 AM, Samuel Pelletier <email@hidden> wrote:

> The are many _javascript_ libraries in the source, the credits part list Jison, Sizzle, BinaryAjax, _javascript_ EXIF Reader, Prototype, jQuery, Sproutcore and yui.
>
> For the server part, the Ajax url are not like WO urls. For such a large scale and very specialized deployment they probably have something very optimized for fast response with async server side processing of the validation and save to persistent storage. This way, you can batch many small transactions into a single IO intensive process. Almost every keystrokes create a request like google apps.
>
> Samuel
>
> Le 2013-06-16 à 15:25, Johnny Miller <email@hidden> a écrit :
>
>> Sproutcore?
>>
>>
>>
>> On Jun 16, 2013, at 6:29 AM, Ramsey Gurley <email@hidden> wrote:
>>
>>> I'm gonna go out on a limb and say, something closed source that they have no plan to ever share with us :-)
>>>
>>> On Jun 16, 2013, at 9:04 AM, Stavros Panidis wrote:
>>>
>>>> Well, what is the technology Apple uses for iWork for iCloud?
>>>>
>>>> Stavros Panidis
>>>>
>>>>> ------------------------------
>>>>>
>>>>> Message: 7
>>>>> Date: Sat, 15 Jun 2013 08:54:28 -0700
>>>>> From: Chuck Hill <email@hidden>
>>>>> To: Baiss Eric Magnusson <email@hidden>
>>>>> Cc: WebObjectsDev <email@hidden>
>>>>> Subject: Re: Can WOWODC folks make this happen some day
>>>>> Message-ID: <email@hidden">email@hidden>
>>>>> Content-Type: text/plain; charset=windows-1252
>>>>>
>>>>> I, for one, see no value in Obj-C WebObjects.  Server side, Java is where its at.
>>>>>
>>>>> Chuck
>>>>>
>>>>>
>>>>> On 2013-06-15, at 8:09 AM, Baiss Eric Magnusson wrote:
>>>>>
>>>>>> Interesting discussion,
>>>>>>
>>>>>>      <http://kevinlawler.com/objective-c>
>>>>>>
>>>>>> I would like it if WO went back to Objective-C. Eclipse is not happening.
>>>>>>
>>>>>>
>>>>>> ----
>>>>>> Baiss Eric Magnusson
>>>>>> Cascade Web Design
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list      (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>> --
>>>>> Chuck Hill
>>>>> Executive Managing Partner, VP Development and Technical Services
>>>>>
>>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>>> http://www.global-village.net/gvc/practical_webobjects
>>>>>
>>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
>>>>>
>>>>> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Webobjects-dev Digest, Vol 10, Issue 389
      • From: John Huss <email@hidden>
References: 
 >Re: Webobjects-dev Digest, Vol 10, Issue 389 (From: Stavros Panidis <email@hidden>)
 >Re: Webobjects-dev Digest, Vol 10, Issue 389 (From: Ramsey Gurley <email@hidden>)
 >Re: Webobjects-dev Digest, Vol 10, Issue 389 (From: Johnny Miller <email@hidden>)
 >Re: Webobjects-dev Digest, Vol 10, Issue 389 (From: Johnny Miller <email@hidden>)
 >Re: Webobjects-dev Digest, Vol 10, Issue 389 (From: John Huss <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 10, Issue 389
  • Next by Date: Re: Webobjects-dev Digest, Vol 10, Issue 389
  • Previous by thread: Re: Webobjects-dev Digest, Vol 10, Issue 389
  • Next by thread: Re: Webobjects-dev Digest, Vol 10, Issue 389
  • Index(es):
    • Date
    • Thread