You could also refer to another page, as in:

jh '<a href="http://google.com";> go to google</a>' or your own page, as in:

jh'<a href="indexaction.mezoka.com/defaultE.htm">my page</a>'

I was thinking of using something like the above page I wrote for
friends, and make my calculations in J.

Basically, it gathers a minimum of data about a person, and packages
the info in an array later sent to the javasript calculation engine.
It works on an iPad or iPhone but the scrollers are not optimized  and
are difficult to use on these devises.

The javascript calculating machine projects the benefits to be paid
and calculates the value of pensions. But it  also is presently
responsible for ordering the display of the results.

If J where involved, the projections and the other results to be
displayed would be returned to the java script which would be in
charge of displaying the results.

It is possible that just designing and setting up a nice user-friendly
 interface involves more time than setting up the javascript
calculation engine, or the J calculations.

I guess that getting the thing to use my J calculation engine could
give me clue to the tradeoffs involved.





Sent from my iPad

On 2012-05-16, at 14:11, bob therriault <[email protected]> wrote:

> Hi Robert,
>
> by looking at jh_z_
>
> jh_z_=: 3 : 0
> ('<html><head></head><body>',y,'</body></html>') fwrite '~user/webview.html'
> smoutput '<ioscmd>pl '
> i.0 0
> )
>
> which is defined in the J app as a way to wrap its argument in an HTML 
> template. You can see that what you want to display is written into a file 
> called webview which is then displayed in the html window. I haven't looked 
> into the socket aspect yet, but it may be notable that Eric has chosen to use 
> the "write to file/display file" paradigm.
>
> Cheers, bob
>
> On 2012-05-16, at 11:01 AM, Robert Cyr wrote:
>
>> It would be nice to have the entire screen available to a web page.
>>
>> That way, a bit of JavaScript would allow a fancy front end with
>> pretty graphics such as sliders , powerful graphs etc.  For a J
>> person, a very useful and powerful calculating machine would of course
>> lurk in the back-ground.
>>
>> I have not wet quite figured out how to communicate with my web page.
>> Could this be why a socket script is included with the iPad J ( at
>> 'j/system/main/socket.ijs') ?
>>
>>
>> Sent from my iPad
>>
>> On 2012-05-16, at 00:46, David Leibs <[email protected]> wrote:
>>
>>> I think it might be nice if there was a way to grab the bottom of the
>>> html view and drag it downward in order to make it bigger.
>>>
>>> -David Leibs
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to