[phoenix-project] Fwd: Phoenix Modifications

  • From: Ajith Kumar <bpajith@xxxxxxxxx>
  • To: phoenix-project@xxxxxxxxxxxxx
  • Date: Thu, 25 Nov 2010 08:48:25 +0530

---------- Forwarded message ----------
From: Georges Khaznadar <georges.khaznadar@xxxxxxx>
Date: Thu, Nov 25, 2010 at 12:30 AM
Subject: Re: [phoenix-project] Phoenix Modifications
To: Ajith Kumar <bpajith@xxxxxxxxx>


Hello Ajith,

Ajith Kumar a écrit :
>     We are working on a modified version of the Phoenix Interface. Those
who
> use Phoenix may point out the shortcomings of the existing  version from
> their experience and desired features.

I must apologize because I shall propose a few ideas which may cost
work, and that I am currently unable to do that work shortly. So I
adress you and your coworkers, as if you were the Djinni of Aladdin's
lamp, and that you just said: "what would you wish of me, oh master
mine?"[¹]

I feel that many people would be able to contribute to the development
of Phoenix, if they were provided with an easy interface to do it. As
far as I can imagine, such a comfortable interface may be a blog system:

In that blog system, you publish a page with some text and one image,
followed by  *magic paragraphs*. The magic paragraphs consist in lines
with a simple syntax, interleaved with Python code snippets:

Here are two examples:

-----------------------------8<---------------------
124,48: activate_ch0()

save: save_data()
----------------------------8<----------------------

Then the main program to drive Phoenix may contain the same begin
environment as phoenix-guide.py, provide the already-published
environments for physics, elctronics, etc., and add as an extra the
possibility to download a new environment from a phoenix-blog.

When the blog post has been downloaded, the image appears in the upper
part of the user interface, the blog's text appears in the lower part.
The magic paragraphs are interpreted as program directives, based on a
library named phoenix_protected_mode carefully designed to prevent
dangerous misbehaviours.

Here a possible ideas to activate the magics:

124,48: activate_ch0()
will be interpreted as: when an area near the pixel (124,48) in the
*only image* of this blog post has been clicked, launch
phoenix_protected_mode.activate_ch0()

save: save_data()
will be interpreted as: modify the first occurence of "save" in the
lower part of the window to make it active; if somebody cliked "save",
then launch
phoenix_protected_mode.save_data()

-------------------------------

Please gentle djinns, do you think that this would be reasonable?

Best regards,                   Georges.

NOTES:
[¹] about Aladdin's magic lamp:
http://en.wikipedia.org/wiki/Aladdin#Sources_and_setting
http://www.dailymotion.com/playlist/x1edda_Hyrokin_aladin-bollywood/1#videoId=xehakq

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFM7WDanfmb2hFpETARAqHlAJ9CJSrqrabX0kndZU35k1TPLYbpUACeNDE8
ClLR+eoGi5x7kHoqipGOpKM=
=qJAJ
-----END PGP SIGNATURE-----




-- 
Dr. Ajith Kumar B.P.
Scientist SG
Inter-University Accelerator Centre
Aruna Asaf Ali Marg
New Delhi 110067
www.iuac.res.in
Ph: (off) 91 11 26893955 (Ext.230)
      (res)91 11 26897867
      (mob) 91 9868150852

Other related posts:

  • » [phoenix-project] Fwd: Phoenix Modifications - Ajith Kumar