You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-dev@incubator.apache.org by "avdhesh .java" <av...@gmail.com> on 2009/12/10 15:16:00 UTC

PhotArk UI

Hi,

Now i understands the  basics of SCA and how to apply tuscany framework in
photark...compiled and executed a sample tuscany application..
I have looked two  popular toolkits, dojo toolkit  and jquery.
I will try to integrate dojo toolkit with photArk this weekend..

-- 
Thanks,
Avdhesh
09873421630

Re: PhotArk UI

Posted by Luciano Resende <lu...@gmail.com>.
On Sun, Dec 27, 2009 at 8:50 PM, avdhesh .java <av...@gmail.com> wrote:
> Hi,
>
> Copying all the dojo and dijit files in photark repo is not a  good idea.I
> agree with you...
> I prefer second option simply reference Dojo via a public CDN.
> I suggest to check-in the build-dojo.xml so thay any developer
> in development environment can use dojo files locally without connecting to
> internet.
>
> Regards
> Avdhesh.

Agree with both... so how about to do the following :

- Use the dojo ant script to unpack dojo from local maven repo and
only make it as part of the built war file ?

This would avoid having dojo available as part of PhotArk SVN, and
also allow developers to use PhotArk offline, where access to CDN
might not be available... (btw, this is how we do in Tuscany)....

Thoughts ? If people are ok I can modify this easily....

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: PhotArk UI

Posted by "avdhesh .java" <av...@gmail.com>.
Hi,

Copying all the dojo and dijit files in photark repo is not a  good idea.I
agree with you...
I prefer second option simply reference Dojo via a public CDN.
I suggest to check-in the build-dojo.xml so thay any developer
in development environment can use dojo files locally without connecting to
internet.

Regards
Avdhesh.

On Sat, Dec 26, 2009 at 11:03 PM, Martin Cooper <ma...@apache.org> wrote:

> On Thu, Dec 17, 2009 at 6:06 AM, avdhesh .java <av...@gmail.com>
> wrote:
> > Hi,
> >
> > I have integrated dojo 1.3.2 with the PhotArk.
> >
> > Have a look..
>
> Thanks for taking a shot at this!
>
> I don't like the idea of having a copy of all of the Dojo and Dijit
> source files in our own repo, though. Apart from cluttering up our
> repo unnecessarily, it makes it that much harder to associate what we
> have with a specific version of Dojo, and opens up the possibility of
> someone modifying individual files such that we don't match a specific
> version of Dojo at all. We should be able to explode only what we need
> over the webapp image, specifically excluding the raw source files. We
> would not want to deploy all those individual files anyway.
>
> Another option to consider might be to simply reference Dojo via a
> public CDN and not check anything in at all.
>
> --
> Martin Cooper
>
>
> > Thanks and Regards
> > Avdhesh
> >
> > On Fri, Dec 11, 2009 at 10:41 AM, Luciano Resende <luckbr1975@gmail.com
> >wrote:
> >
> >> On Thu, Dec 10, 2009 at 8:37 PM, avdhesh .java <av...@gmail.com>
> >> wrote:
> >> > Hi,
> >> >
> >> > As per my understanding of jira issue PhotArk-6.We want to replace the
> >> > Tuscany implementation Widget and it's generated javascript with a
> third
> >> > party java script framework for json-rpc. My plan is to use Dojo as
> third
> >> > party JS framework and replace all the Tuscany generated
> >> > javascript(gallery.js ,scaDomain.js etc) from the gallary.html.
> >> > Instead use Dojo scripts  for accessing remote gallery and album
> remote
> >> > JSON-RPC services.
> >> >
> >> > Please correct me if my understanding is incorrect..And also suggest
> me
> >> the
> >> > right Path so that i can work on this issue...
> >> >
> >>
> >> Great, exactly...
> >> There are some examples here that might help speed up things a little
> bit:
> >>
> >>
> https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-appengine-webapp/war/store.html
> >>
> >>
> >> --
> >> Luciano Resende
> >> http://people.apache.org/~lresende <
> http://people.apache.org/%7Elresende>
> >> http://lresende.blogspot.com/
> >>
> >
> >
> >
> > --
> > Thanks,
> > Avdhesh
> > 09873421630
> >
> > Disclaimer: Any resemblance between the above views and those of my
> > employer, my terminal, or the view out my window are purely coincidental.
> > Any resemblance between the above and my own views is non-deterministic.
> The
> > question of the existence of views in the absence of anyone to hold them
> is
> > left as an exercise for the reader. The question of the existence of the
> > reader is left as an exercise for the second god coefficient. (A
> discussion
> > of non-orthogonal, non-integral polytheism is beyond the scope of this
> > article.)
> >
>



-- 
Thanks,
Avdhesh
09873421630

Disclaimer: Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely coincidental.
Any resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them is
left as an exercise for the reader. The question of the existence of the
reader is left as an exercise for the second god coefficient. (A discussion
of non-orthogonal, non-integral polytheism is beyond the scope of this
article.)

Re: PhotArk UI

Posted by Martin Cooper <ma...@apache.org>.
On Thu, Dec 17, 2009 at 6:06 AM, avdhesh .java <av...@gmail.com> wrote:
> Hi,
>
> I have integrated dojo 1.3.2 with the PhotArk.
>
> Have a look..

Thanks for taking a shot at this!

I don't like the idea of having a copy of all of the Dojo and Dijit
source files in our own repo, though. Apart from cluttering up our
repo unnecessarily, it makes it that much harder to associate what we
have with a specific version of Dojo, and opens up the possibility of
someone modifying individual files such that we don't match a specific
version of Dojo at all. We should be able to explode only what we need
over the webapp image, specifically excluding the raw source files. We
would not want to deploy all those individual files anyway.

Another option to consider might be to simply reference Dojo via a
public CDN and not check anything in at all.

--
Martin Cooper


> Thanks and Regards
> Avdhesh
>
> On Fri, Dec 11, 2009 at 10:41 AM, Luciano Resende <lu...@gmail.com>wrote:
>
>> On Thu, Dec 10, 2009 at 8:37 PM, avdhesh .java <av...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > As per my understanding of jira issue PhotArk-6.We want to replace the
>> > Tuscany implementation Widget and it's generated javascript with a third
>> > party java script framework for json-rpc. My plan is to use Dojo as third
>> > party JS framework and replace all the Tuscany generated
>> > javascript(gallery.js ,scaDomain.js etc) from the gallary.html.
>> > Instead use Dojo scripts  for accessing remote gallery and album remote
>> > JSON-RPC services.
>> >
>> > Please correct me if my understanding is incorrect..And also suggest me
>> the
>> > right Path so that i can work on this issue...
>> >
>>
>> Great, exactly...
>> There are some examples here that might help speed up things a little bit:
>>
>> https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-appengine-webapp/war/store.html
>>
>>
>> --
>> Luciano Resende
>> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Thanks,
> Avdhesh
> 09873421630
>
> Disclaimer: Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely coincidental.
> Any resemblance between the above and my own views is non-deterministic. The
> question of the existence of views in the absence of anyone to hold them is
> left as an exercise for the reader. The question of the existence of the
> reader is left as an exercise for the second god coefficient. (A discussion
> of non-orthogonal, non-integral polytheism is beyond the scope of this
> article.)
>

Re: PhotArk UI

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Dec 17, 2009 at 6:06 AM, avdhesh .java <av...@gmail.com> wrote:
> Hi,
>
> I have integrated dojo 1.3.2 with the PhotArk.
>
> Have a look..
>
> Thanks and Regards
> Avdhesh

Great, let me look at this over the weekend...


-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: PhotArk UI

Posted by "avdhesh .java" <av...@gmail.com>.
Hi,

I have integrated dojo 1.3.2 with the PhotArk.

Have a look..

Thanks and Regards
Avdhesh

On Fri, Dec 11, 2009 at 10:41 AM, Luciano Resende <lu...@gmail.com>wrote:

> On Thu, Dec 10, 2009 at 8:37 PM, avdhesh .java <av...@gmail.com>
> wrote:
> > Hi,
> >
> > As per my understanding of jira issue PhotArk-6.We want to replace the
> > Tuscany implementation Widget and it's generated javascript with a third
> > party java script framework for json-rpc. My plan is to use Dojo as third
> > party JS framework and replace all the Tuscany generated
> > javascript(gallery.js ,scaDomain.js etc) from the gallary.html.
> > Instead use Dojo scripts  for accessing remote gallery and album remote
> > JSON-RPC services.
> >
> > Please correct me if my understanding is incorrect..And also suggest me
> the
> > right Path so that i can work on this issue...
> >
>
> Great, exactly...
> There are some examples here that might help speed up things a little bit:
>
> https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-appengine-webapp/war/store.html
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>



-- 
Thanks,
Avdhesh
09873421630

Disclaimer: Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely coincidental.
Any resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them is
left as an exercise for the reader. The question of the existence of the
reader is left as an exercise for the second god coefficient. (A discussion
of non-orthogonal, non-integral polytheism is beyond the scope of this
article.)

Re: PhotArk UI

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Dec 10, 2009 at 8:37 PM, avdhesh .java <av...@gmail.com> wrote:
> Hi,
>
> As per my understanding of jira issue PhotArk-6.We want to replace the
> Tuscany implementation Widget and it's generated javascript with a third
> party java script framework for json-rpc. My plan is to use Dojo as third
> party JS framework and replace all the Tuscany generated
> javascript(gallery.js ,scaDomain.js etc) from the gallary.html.
> Instead use Dojo scripts  for accessing remote gallery and album remote
> JSON-RPC services.
>
> Please correct me if my understanding is incorrect..And also suggest me the
> right Path so that i can work on this issue...
>

Great, exactly...
There are some examples here that might help speed up things a little bit:
https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-appengine-webapp/war/store.html


-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: PhotArk UI

Posted by "avdhesh .java" <av...@gmail.com>.
Hi,

As per my understanding of jira issue PhotArk-6.We want to replace the
Tuscany implementation Widget and it's generated javascript with a third
party java script framework for json-rpc. My plan is to use Dojo as third
party JS framework and replace all the Tuscany generated
javascript(gallery.js ,scaDomain.js etc) from the gallary.html.
Instead use Dojo scripts  for accessing remote gallery and album remote
JSON-RPC services.

Please correct me if my understanding is incorrect..And also suggest me the
right Path so that i can work on this issue...


Regards
Avdhesh


On Thu, Dec 10, 2009 at 9:51 PM, Luciano Resende <lu...@gmail.com>wrote:

> On Thu, Dec 10, 2009 at 7:16 AM, avdhesh .java <av...@gmail.com>
> wrote:
> > Hi,
> >
> > Now i understands the  basics of SCA and how to apply tuscany framework
> in
> > photark...compiled and executed a sample tuscany application..
> > I have looked two  popular toolkits, dojo toolkit  and jquery.
> > I will try to integrate dojo toolkit with photArk this weekend..
> >
>
> What's do you plan to use Dojo for ?
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>



-- 
Thanks,
Avdhesh
09873421630

Disclaimer: Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely coincidental.
Any resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them is
left as an exercise for the reader. The question of the existence of the
reader is left as an exercise for the second god coefficient. (A discussion
of non-orthogonal, non-integral polytheism is beyond the scope of this
article.)

Re: PhotArk UI

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Dec 10, 2009 at 7:16 AM, avdhesh .java <av...@gmail.com> wrote:
> Hi,
>
> Now i understands the  basics of SCA and how to apply tuscany framework in
> photark...compiled and executed a sample tuscany application..
> I have looked two  popular toolkits, dojo toolkit  and jquery.
> I will try to integrate dojo toolkit with photArk this weekend..
>

What's do you plan to use Dojo for ?


-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/