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/29 15:48:00 UTC

Administration UI

What is the status of this issue...I mean is there anyone working on this
issue..I am interested in working on this .
I think we should break this issue into small units..and fix  one by one..


-- 
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: Administration UI

Posted by Rusty Wright <ru...@gmail.com>.
If you are willing to limit the uploaded picture size to less than 1 meg 
you can use the Blob data type.  E.g., in your persistent class you'd 
have something like

 @Persistent
 private Blob content;


> Date: Tue, 22 Dec 2009 14:19:03 -0800
> Subject: Re: [appengine-java] Blobstore vs Datastore Blob
> From: "Ikai L (Google)" <ik...@google.com>
> To: google-appengine-java@googlegroups.com
>
> No, there shouldn't be a difference. Blobs aren't indexed, and neither are
> Blobstores. Blobs obviously have the size limit issue and are a bit more
> flexible than Blobstores in terms of how you access and manipulate them, but
> otherwise, they're using the same mechanisms at a very low level to persist
> data.
>
> On Mon, Dec 21, 2009 at 9:13 AM, Peter Ondruska <pe...@gmail.com>wrote:
>
> > Is there any difference apart from API, billing restriction and max
> > size between using Blobstore and Blob in Datastore? For example is it
> > more efficient to store Blobs in Blobstore due to non-existing indexes
> > for properties which would otherwise be present in Blob in Blobstore?
> > Thanks, Peter
>
> -- 
> Ikai Lan
> Developer Programs Engineer, Google App Engine
>   


Avdhesh Yadav wrote:
> Hi,
>
> This link says http://code.google.com/appengine/docs/java/blobstore/ that
> blobstore requires billing enabled, means blobstore is not freely
> available...Google app engine can not allow write to filesystem.Do we have
> any other option.
>
> Thoughts ?
>
>   

-- 
Experience is that marvelous thing that enables you to recognize a mistake when you make it again. -- F. P. Jones


Re: Administration UI

Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
Hi,

This link says http://code.google.com/appengine/docs/java/blobstore/ that
blobstore requires billing enabled, means blobstore is not freely
available...Google app engine can not allow write to filesystem.Do we have
any other option.

Thoughts ?

-- 
Avdhesh Yadav
http://www.avdheshyadav.com


On Tue, Jan 5, 2010 at 2:53 AM, Luciano Resende <lu...@gmail.com>wrote:

> On Mon, Jan 4, 2010 at 12:40 PM, Rusty Wright <ru...@gmail.com>
> wrote:
> > For uploading photos note that with Google app engine you can't write to
> its
> > filesystem; it's read only (you can read whatever was in your war).  So
> > you'll need to upload the photos to its data store; it's the only thing
> you
> > can write to.
> >
>
> Yes, because we don't have a upload mechanism now, we just put the
> albums as static images packaged as part of the web application. When
> the upload ui is available, I was thinking on providing a different
> photo service implementation based on images java api [1] or blog
> store [2], but I haven't played with them yet.
>
> [1] http://code.google.com/appengine/docs/java/images/
> [2] http://code.google.com/appengine/docs/java/blobstore/
>
> --
> Luciano Resende
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>

Re: Administration UI

Posted by Luciano Resende <lu...@gmail.com>.
On Mon, Jan 4, 2010 at 12:40 PM, Rusty Wright <ru...@gmail.com> wrote:
> For uploading photos note that with Google app engine you can't write to its
> filesystem; it's read only (you can read whatever was in your war).  So
> you'll need to upload the photos to its data store; it's the only thing you
> can write to.
>

Yes, because we don't have a upload mechanism now, we just put the
albums as static images packaged as part of the web application. When
the upload ui is available, I was thinking on providing a different
photo service implementation based on images java api [1] or blog
store [2], but I haven't played with them yet.

[1] http://code.google.com/appengine/docs/java/images/
[2] http://code.google.com/appengine/docs/java/blobstore/

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

Re: Administration UI

Posted by Rusty Wright <ru...@gmail.com>.
For uploading photos note that with Google app engine you can't write to 
its filesystem; it's read only (you can read whatever was in your war).  
So you'll need to upload the photos to its data store; it's the only 
thing you can write to.


Luciano Resende wrote:
> On Mon, Jan 4, 2010 at 6:39 AM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
>   
>> What about using Java Based Frameworks like GWT, ZK, etc for the photark-ui
>> and admin-ui..
>> Java based framework allows us to have  uniform codebase, one language both
>> sides.
>> if we consider Java Based Framework ,I find GWT Based Framework (e.g Vaadin
>> http://vaadin.com)  good candidate..it integrates well with google apps
>> engine.
>> GWT supports RPC and JSON..Though i have no idea whether it is  possible to
>> integrate GWT with tuscany..
>> We can give it a try for admin-ui..
>>     
>
> What are the benefits of using java for UI ? Using these frameworks,
> can you still use something like DreamWeaver or other tool to help
> with the UI layout ? What about creating a light ui, would this
> generate.
>
>   
>> Actually i am new to front end programming ,Ajax and java script..So may be
>> i am completely wrong.
>>
>>     
>
> What do you think the admin ui should have ? I was thinking for now,
> basically creating a new album and uploading the photos. That should
> be simple enough with the samples/docs from dojo... and I can help...
>
>   
>> Avdhesh
>>
>> On Mon, Jan 4, 2010 at 10:27 AM, Luciano Resende <lu...@gmail.com>wrote:
>>
>>     
>>> On Tue, Dec 29, 2009 at 7:48 AM, avdhesh .java <av...@gmail.com>
>>> wrote:
>>>       
>>>> What is the status of this issue...I mean is there anyone working on this
>>>> issue..I am interested in working on this .
>>>> I think we should break this issue into small units..and fix  one by
>>>>         
>>> one..
>>>       
>>>>         
>>> I have started playing with it while I was investigating YUI, but we
>>> should better just use Dojo for this.
>>> If you want to play with it, here are some resources I had bookmarked :
>>>
>>> http://docs.dojocampus.org/dojox/form/FileUploader
>>> http://demos.dojotoolkit.org/demos/uploader/
>>>
>>> I was thinking on starting by having a upload UI, which would accept
>>> multiple images upload at once or maybe also provide a way to upload a
>>> zip with several images, but this might be a stretch goal.
>>>
>>>
>>> --
>>> Luciano Resende
>>> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
>>> http://lresende.blogspot.com/
>>>
>>>       
>
>
>
>   

-- 
As long as you floss, everything else is optional.


Re: Administration UI

Posted by Luciano Resende <lu...@gmail.com>.
On Mon, Jan 4, 2010 at 6:39 AM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
> What about using Java Based Frameworks like GWT, ZK, etc for the photark-ui
> and admin-ui..
> Java based framework allows us to have  uniform codebase, one language both
> sides.
> if we consider Java Based Framework ,I find GWT Based Framework (e.g Vaadin
> http://vaadin.com)  good candidate..it integrates well with google apps
> engine.
> GWT supports RPC and JSON..Though i have no idea whether it is  possible to
> integrate GWT with tuscany..
> We can give it a try for admin-ui..

What are the benefits of using java for UI ? Using these frameworks,
can you still use something like DreamWeaver or other tool to help
with the UI layout ? What about creating a light ui, would this
generate.

> Actually i am new to front end programming ,Ajax and java script..So may be
> i am completely wrong.
>

What do you think the admin ui should have ? I was thinking for now,
basically creating a new album and uploading the photos. That should
be simple enough with the samples/docs from dojo... and I can help...

> Avdhesh
>
> On Mon, Jan 4, 2010 at 10:27 AM, Luciano Resende <lu...@gmail.com>wrote:
>
>> On Tue, Dec 29, 2009 at 7:48 AM, avdhesh .java <av...@gmail.com>
>> wrote:
>> > What is the status of this issue...I mean is there anyone working on this
>> > issue..I am interested in working on this .
>> > I think we should break this issue into small units..and fix  one by
>> one..
>> >
>> >
>>
>> I have started playing with it while I was investigating YUI, but we
>> should better just use Dojo for this.
>> If you want to play with it, here are some resources I had bookmarked :
>>
>> http://docs.dojocampus.org/dojox/form/FileUploader
>> http://demos.dojotoolkit.org/demos/uploader/
>>
>> I was thinking on starting by having a upload UI, which would accept
>> multiple images upload at once or maybe also provide a way to upload a
>> zip with several images, but this might be a stretch goal.
>>
>>
>> --
>> Luciano Resende
>> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
>> http://lresende.blogspot.com/
>>
>



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

Re: Administration UI

Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
What about using Java Based Frameworks like GWT, ZK, etc for the photark-ui
and admin-ui..
Java based framework allows us to have  uniform codebase, one language both
sides.
if we consider Java Based Framework ,I find GWT Based Framework (e.g Vaadin
http://vaadin.com)  good candidate..it integrates well with google apps
engine.
GWT supports RPC and JSON..Though i have no idea whether it is  possible to
integrate GWT with tuscany..
We can give it a try for admin-ui..
Actually i am new to front end programming ,Ajax and java script..So may be
i am completely wrong.

Avdhesh

On Mon, Jan 4, 2010 at 10:27 AM, Luciano Resende <lu...@gmail.com>wrote:

> On Tue, Dec 29, 2009 at 7:48 AM, avdhesh .java <av...@gmail.com>
> wrote:
> > What is the status of this issue...I mean is there anyone working on this
> > issue..I am interested in working on this .
> > I think we should break this issue into small units..and fix  one by
> one..
> >
> >
>
> I have started playing with it while I was investigating YUI, but we
> should better just use Dojo for this.
> If you want to play with it, here are some resources I had bookmarked :
>
> http://docs.dojocampus.org/dojox/form/FileUploader
> http://demos.dojotoolkit.org/demos/uploader/
>
> I was thinking on starting by having a upload UI, which would accept
> multiple images upload at once or maybe also provide a way to upload a
> zip with several images, but this might be a stretch goal.
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>

Re: Administration UI

Posted by Luciano Resende <lu...@gmail.com>.
On Tue, Dec 29, 2009 at 7:48 AM, avdhesh .java <av...@gmail.com> wrote:
> What is the status of this issue...I mean is there anyone working on this
> issue..I am interested in working on this .
> I think we should break this issue into small units..and fix  one by one..
>
>

I have started playing with it while I was investigating YUI, but we
should better just use Dojo for this.
If you want to play with it, here are some resources I had bookmarked :

http://docs.dojocampus.org/dojox/form/FileUploader
http://demos.dojotoolkit.org/demos/uploader/

I was thinking on starting by having a upload UI, which would accept
multiple images upload at once or maybe also provide a way to upload a
zip with several images, but this might be a stretch goal.


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