Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-21 Thread Ulrich Stärk

Hi Charith,

as I've told you before the proposal you submitted contained nothing of what you came up with in the 
last days. The proposal deadline was on April 9th and you knew that. At that point you were nowhere 
close to a proper proposal nor did you show that you understood the problem or have the required 
knowledge to carry out your proposal.


I'm sorry but we just couldn't consider your proposal. I recommend that you try again next year and 
I urge you to start working on the proposal MUCH earlier then you did this year.


Uli

On 21.04.2010 06:32, Charith Madusanka wrote:

Hi all,

I want to know whether I have a chance to participate gsoc 2010 with  this
project ?

Thank You

charith.



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-20 Thread Charith Madusanka
Hi all,

I want to know whether I have a chance to participate gsoc 2010 with  this
project ?

Thank You

charith.


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-19 Thread Ulrich Stärk

Since this will be an add-on module it is OK for it to depend on LGPL-licensed 
software.

Uli

On 18.04.2010 12:35, Charith Madusanka wrote:

Hi all,

Java PDF renderer library has been released by the Lesser General Public
License(LGPL)  and Google Map API
have Google Map Terms of Service(http://code.google.com/apis/maps/terms.html
).
So is' it ok to release Apache Software License  (Tapestry *Project License)
for both Google Map and JavaScript-only PDF viewer components ?*
*
*
*thanx*
*
*
*charith *



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-18 Thread Charith Madusanka
Hi all,

Java PDF renderer library has been released by the Lesser General Public
License(LGPL )  and Google Map API
have Google Map Terms of Service(http://code.google.com/apis/maps/terms.html
).
So is' it ok to release Apache Software License  (Tapestry *Project License)
for both Google Map and JavaScript-only PDF viewer components ?*
*
*
*thanx*
*
*
*charith *


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-16 Thread Charith Madusanka
Hi Alex,

 in my opinion, you shouldn't worry about the app engine, it's a special
> case. If you work it out for the general tapestry case where the PDF is
> read
> from a file or a stream, that'll be plenty.
>

 Thank for your reply.Now I'm on the way succeed my work. If you have
any suggestion please send me.It's great help to me.

thanx

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Alex Kotchnev
Charith,
  in my opinion, you shouldn't worry about the app engine, it's a special
case. If you work it out for the general tapestry case where the PDF is read
from a file or a stream, that'll be plenty.

Regards,

Alex K

On Thu, Apr 15, 2010 at 3:16 PM, Charith Madusanka wrote:

> Hi Thiago and Uli,
>
> Thank you very much for your comments. They are very helpful for me.  Now
> I'm planning to show the pages to the user by using StreamResponse and also
> looking for App Engine problem.
>
> Thanx
>
> charith
>


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Charith Madusanka
Hi Thiago and Uli,

Thank you very much for your comments. They are very helpful for me.  Now
I'm planning to show the pages to the user by using StreamResponse and also
looking for App Engine problem.

Thanx

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Charith Madusanka
hi Piero

maybe PDFBox could be used?
>
> -> http://pdfbox.apache.org/


nice tip...

thanx

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Ulrich Stärk

That's one of the tasks that have to be done: evaluating existing libraries.

On 15.04.2010 14:49, Piero Sartini wrote:

maybe PDFBox could be used?

->  http://pdfbox.apache.org/

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Piero Sartini
maybe PDFBox could be used?

-> http://pdfbox.apache.org/

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Apr 2010 00:56:00 -0300, Charith Madusanka  
 wrote:



hi Uli and Thiago ,


Hi!


What do you think about this method. Is this method is ok for render PDF
file to Images ?


I think that's the only viable way of doing it without delegating the  
rendering to Google.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
hi Uli and Thiago ,

What do you think about this method. Is this method is ok for render PDF
file to Images ?
if you have any suggestion please send me.It's great help to me.

Thank you,

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Alex Kotchnev
Dmitry,
   good tip !

Thanks,

Alex K

On Wed, Apr 14, 2010 at 3:28 AM, Dmitry Gusev wrote:

> Alex,
>
> In Google App Engine you may get another problem, the one associated with
> Java 2D.
>
> Check this issue as a reference:
> http://code.google.com/p/googleappengine/issues/detail?id=1423
>
> On Tue, Apr 13, 2010 at 21:11, Alex Kotchnev  wrote:
>
> > Charith,
> >   seems like as long as it works, it should be OK. One issue to
> investigate
> > is whether you actually need a java.io.File to do this or not. I for one
> > can't do much w/ java.io.File when my app is running in Google App
> Engine,
> > so I ideally I'd like to be able to do the same from a regular input
> stream
> > or a byte array (or something similar). Of course, my needs might not be
> > what the majority of the users would need.
> >
> > Regards,
> >
> > Alex K
> >
> > On Tue, Apr 13, 2010 at 5:17 AM, Charith Madusanka <
> charithc...@gmail.com
> > >wrote:
> >
> > > Hi ,
> > >
> > > If any one can tell me , this method is ok for render PDF file to
> Images
> > ?
> > >
> > > charith
> > >
> >
>
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Dmitry Gusev
Alex,

In Google App Engine you may get another problem, the one associated with
Java 2D.

Check this issue as a reference:
http://code.google.com/p/googleappengine/issues/detail?id=1423

On Tue, Apr 13, 2010 at 21:11, Alex Kotchnev  wrote:

> Charith,
>   seems like as long as it works, it should be OK. One issue to investigate
> is whether you actually need a java.io.File to do this or not. I for one
> can't do much w/ java.io.File when my app is running in Google App Engine,
> so I ideally I'd like to be able to do the same from a regular input stream
> or a byte array (or something similar). Of course, my needs might not be
> what the majority of the users would need.
>
> Regards,
>
> Alex K
>
> On Tue, Apr 13, 2010 at 5:17 AM, Charith Madusanka  >wrote:
>
> > Hi ,
> >
> > If any one can tell me , this method is ok for render PDF file to Images
> ?
> >
> > charith
> >
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
hi Uli ,

What do you think my method. This method is ok for render PDF file to Images
?
if you have any suggestion please send me.

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
Hi Alex,

One issue to investigate is whether you actually need a java.io.File to do
> this or not.


 I think is not, You can generate pdf using another method.

charith.


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Alex Kotchnev
Charith,
   seems like as long as it works, it should be OK. One issue to investigate
is whether you actually need a java.io.File to do this or not. I for one
can't do much w/ java.io.File when my app is running in Google App Engine,
so I ideally I'd like to be able to do the same from a regular input stream
or a byte array (or something similar). Of course, my needs might not be
what the majority of the users would need.

Regards,

Alex K

On Tue, Apr 13, 2010 at 5:17 AM, Charith Madusanka wrote:

> Hi ,
>
> If any one can tell me , this method is ok for render PDF file to Images ?
>
> charith
>


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Charith Madusanka
Hi ,

If any one can tell me , this method is ok for render PDF file to Images ?

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-12 Thread Charith Madusanka
Hi ,

I'm writing simple Java program render PDF file to Images by using  Java PDF
render  library. Code is given below and attach to the mail,


import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import javax.imageio.ImageIO;
import com.sun.pdfview.PDFFile;
import com.sun.pdfview.PDFPage;

public class RenderPDF2Image {

public static void main(String[] args) {

File file = new File("file.pdf");
RandomAccessFile randomFile;

try {

randomFile = new RandomAccessFile(file, "r");
FileChannel channel = randomFile.getChannel();
ByteBuffer buffer = channel.map(FileChannel.MapMode.READ_ONLY,
0, channel.size());
PDFFile pdffile = new PDFFile(buffer);
int numberOfPages = pdffile.getNumPages();

for (int i = 0; i < numberOfPages; i++) {

PDFPage page = pdffile.getPage(i);
int pageWidth = (int) page.getBBox().getWidth();
int pageHeight = (int) page.getBBox().getHeight();
Rectangle rectangle = new Rectangle(0, 0, pageWidth,
pageHeight);
Rectangle rectangle2DClip = rectangle;

BufferedImage image;
image = (BufferedImage) page.getImage(rectangle.width,
rectangle.height, rectangle2DClip, null, true, true);

// Output PDF to png
ImageIO.write(image, "png", new File("image" + i + ".png"));
// Output PDF to gif
ImageIO.write(image, "gif", new File("image" + i + ".gif"));
// Output PDF to jpg
ImageIO.write(image, "jpg", new File("image" + i + ".jpg"));
}

} catch (FileNotFoundException e1) {

System.out.println(e1.getLocalizedMessage());

} catch (IOException e) {

System.out.println(e.getLocalizedMessage());

}
}
}




charith

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-11 Thread Charith Madusanka
Hi ,

 I can't see anything in RenderSupport that
> would help render or stream images to be shown to the user.



Yes, It is true that it is unable to render the PDF into image and show ti
the user by using RenderSupport. I tried to render the PDF into image by
using JavaScript with the support of RenderSupport to built my
component "JavaScript-only
PDF viewer".I have given my fully capacity to do it in my way,but ultimately
my total attempt became a waste. But finally I studied something which is
very advantage.

Now I am on the right path to render PDF into image by using Java2D. Java
swinglabs provide PDF rendering library called Java PDF render (
https://pdf-renderer.dev.java.net/). This library has a class called
PDFRenderer (
https://pdf-renderer.dev.java.net/nonav/demos/latest/javadoc/index.html) and
it turns a set of PDF Commands from a PDF page into an image.

I am not pretty sure that above class can be used directly for my
implementations. I think I have to do some customization class or rebuilding
class towards compatible T5. Show the pages to the user easily done by
 using StreamResponse.

thanx,

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-11 Thread Thiago H. de Paula Figueiredo
On Sun, Apr 11, 2010 at 12:32 AM, Charith Madusanka
 wrote:
> Hi Uli,

Hi!

> Now looking Interface RenderSupport  package , I think it can be use full
> to enders the PDF to images and  shown to the user.

I'm not following you. I can't see anything in RenderSupport that
would help render or stream images to be shown to the user. Rendering
should be done by Java code, using code you'll write or some open
source package that does it. Streaming content to the user should be
done by a StreamResponse or a Dispatcher.

-- 
Thiago

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-10 Thread Charith Madusanka
Hi Uli,

Now looking Interface RenderSupport  package , I think it can be use full
to enders the PDF to images and  shown to the user. This package support to
all T5 component that render and also help to JavaScript generation.

Interface RenderSupport(
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/RenderSupport.html
),

cheers

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-10 Thread Ulrich Stärk
Yeah, but that's not what Thiago and I had in mind. We'd rather want some kind of Tapestry service 
that renders the PDF to images and a JavaScript control that communicates with that service and 
shows the pages to the user.


Uli

On 10.04.2010 08:14, Ben Gidley wrote:

Do you mean you are planning on using
https://docs.google.com/viewer

This is googles embedable PDF viewer. It should be relatively simple to
write a tapestry control that uses it.
  
Ben Gidley

www.gidley.co.uk
b...@gidley.co.uk


On Sat, Apr 10, 2010 at 3:41 AM, Alex Kotchnev  wrote:


Charith,
   it seems to me that with the Javascript PDF viewer you might be biting
more than you can chew. PDF is not a very pleasant format to deal with, and
in order to view it only in Javascript/HTML you'll need to convert the PDF
to images. I few years ago I was doing something similar, and it was
neither
pretty nor pleasant. Alternatively, there seem to be a few ways to convert
a
PDF file to flash, but then your component is not going to be "javascript
only".

   Anyway, maybe you could shed some light on how you plan to deal with
this. It also seems like you're kinda new to Tapestry and there's a few
things to learn there as well. Considering that you only have a few short
months for this, it might be wise to pick something more realistic that
doesn't require major inventions in just a couple of months.

Regards,

Alex K

On Fri, Apr 9, 2010 at 10:26 PM, Charith Madusanka
wrote:



Hi all,

Project Reference Link...

http://code.google.com/apis/ajax/
http://code.google.com/apis/maps/
http://wiki.apache.org/tapestry/FrontPage
http://en.wikipedia.org/wiki/JavaScript

charith







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Ben Gidley
Do you mean you are planning on using
https://docs.google.com/viewer

This is googles embedable PDF viewer. It should be relatively simple to
write a tapestry control that uses it.
 
Ben Gidley

www.gidley.co.uk
b...@gidley.co.uk


On Sat, Apr 10, 2010 at 3:41 AM, Alex Kotchnev  wrote:

> Charith,
>   it seems to me that with the Javascript PDF viewer you might be biting
> more than you can chew. PDF is not a very pleasant format to deal with, and
> in order to view it only in Javascript/HTML you'll need to convert the PDF
> to images. I few years ago I was doing something similar, and it was
> neither
> pretty nor pleasant. Alternatively, there seem to be a few ways to convert
> a
> PDF file to flash, but then your component is not going to be "javascript
> only".
>
>   Anyway, maybe you could shed some light on how you plan to deal with
> this. It also seems like you're kinda new to Tapestry and there's a few
> things to learn there as well. Considering that you only have a few short
> months for this, it might be wise to pick something more realistic that
> doesn't require major inventions in just a couple of months.
>
> Regards,
>
> Alex K
>
> On Fri, Apr 9, 2010 at 10:26 PM, Charith Madusanka  >wrote:
>
> > Hi all,
> >
> > Project Reference Link...
> >
> > http://code.google.com/apis/ajax/
> > http://code.google.com/apis/maps/
> > http://wiki.apache.org/tapestry/FrontPage
> > http://en.wikipedia.org/wiki/JavaScript
> >
> > charith
> >
>


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Alex Kotchnev
Charith,
   it seems to me that with the Javascript PDF viewer you might be biting
more than you can chew. PDF is not a very pleasant format to deal with, and
in order to view it only in Javascript/HTML you'll need to convert the PDF
to images. I few years ago I was doing something similar, and it was neither
pretty nor pleasant. Alternatively, there seem to be a few ways to convert a
PDF file to flash, but then your component is not going to be "javascript
only".

   Anyway, maybe you could shed some light on how you plan to deal with
this. It also seems like you're kinda new to Tapestry and there's a few
things to learn there as well. Considering that you only have a few short
months for this, it might be wise to pick something more realistic that
doesn't require major inventions in just a couple of months.

Regards,

Alex K

On Fri, Apr 9, 2010 at 10:26 PM, Charith Madusanka wrote:

> Hi all,
>
> Project Reference Link...
>
> http://code.google.com/apis/ajax/
> http://code.google.com/apis/maps/
> http://wiki.apache.org/tapestry/FrontPage
> http://en.wikipedia.org/wiki/JavaScript
>
> charith
>


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
Hi all,

Project Reference Link...

http://code.google.com/apis/ajax/
http://code.google.com/apis/maps/
http://wiki.apache.org/tapestry/FrontPage
http://en.wikipedia.org/wiki/JavaScript

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
http://wiki.apache.org/general/CharithElvitigala


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
Hi all ,

I need comments about my proposal.

Charith

On Thu, Apr 8, 2010 at 11:10 PM, Charith Madusanka wrote:

> *Proposal Title:*
>
> Google Map Module and JavaScript-only PDF viewer component
>
>
> *Student Name:*
>
> Charitha Madusanka Elvitigala
>
> *
> *
>
> *Student E-mail:*
>
> charithc...@gmail.com
>
> *
> *
>
> *Organization*
>
> Apache Tapestry
>
> *
> *
>
> *Project Assigned Mentor*:
>
> Thiago H. de Paula Figueiredo
>
> Ulrich Stärk
>
> *
> *
>
> *Proposal Abstract:***
>
> Apache Tapestry is an open source java framework. Tapestry component make
> easer to developers creating dynamic, robust, highly scalable web
> applications in Java.Google Map component provides an interface to the
> Google map API with Tapestry5. PDF viewer component provide to Tapestry
> user view PDF document through the web browser. Both components are mainly
> based on Java Script.
>
> *
> *
>
> *Deliverables*
>
>
>- Implementation of Google Map component
>- Implementation of JavaScript-only PDF viewer component
>- Documentation to support continuation of the project
>
>
>
> *Overview*
>
> *
> *
>
> *Google Map component***
>
> This component provide users to a clickable map for entering
> latitude and longitude as well as it can  add content to the map through a
> variety of services, allowing you to create robust maps applications on your
> T5 web application.
>
> Google Map component can be used to create interactive maps with various
> map markers. I’m hoping to implement this module by using Tapestry5 Ajax
> package and Java Script (Tapestry5AndJavaScriptExplained) make an
> interaction with Google Map API.
>
>
>
> *JavaScript-only PDF viewer component*
>
> These components allow to viewing PDF file directly in web
> browser .Now look at my implementation of this component. One of the
> effective and powerful way to view PDF in web browser by using Java Script.
>
> My implementation includes classes, object and method that
> enable you to easily manipulate PDF file, provide database connections and
> other use full things. To render PDF, I will do render the whole document at
> once and cache the pages, then contents shown to the user. Ajax is used to
> load the content asynchronously.
>
>
>
> *Project Plan*
>
> *I have planned the project under 4 steps as follows*
>
> *Step 1: Initial Planning and Designing*
>
> *I will look at both Tapestry 5 framework Google map API then will create
> a basic design for Google map component.** *In* *PDF viewer component I
> will design all the Java Script classes, method and workflows. **
>
> Estimated Completion: 23ed May 2010* *
>
> *Step 2: Implementation*
>
> I would start working on the code. Deliverable(s): Prototype and
> documentation for mid evaluation
>
> Estimated Completion: 11th July 2010**
>
> *Step 3: Improvements and Testing*
>
> Modifications or improvements suggested at the mid evaluation would be
> completed in this step. Write unit tests for finished segments and Test
> Component.
>
> Estimated Completion: 9th August 2010**
>
> *Step 4: Final Product and Documents*
>
> With the completion of this step, will finish the Google Map Component and
> JavaScript-only PDF viewer component for T5. Necessary documents would also
> be present with the final products. Deliverable(s): Final products and
> documentation.
>
>
>
> *Biography*
>
> I am Charitha Madusaka Elvitigal 2rd year Computer Science undergraduate of
> University of Colombo School of Computing (UCSC), Sri Lanka. I have been
> involved in Open Source development regarding Web Services based on Apache,
> java and Java Script.
>


Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
*Proposal Title:*

Google Map Module and JavaScript-only PDF viewer component


*Student Name:*

Charitha Madusanka Elvitigala

*
*

*Student E-mail:*

charithc...@gmail.com

*
*

*Organization*

Apache Tapestry

*
*

*Project Assigned Mentor*:

Thiago H. de Paula Figueiredo

Ulrich Stärk

*
*

*Proposal Abstract:***

Apache Tapestry is an open source java framework. Tapestry component make
easer to developers creating dynamic, robust, highly scalable web
applications in Java.Google Map component provides an interface to the
Google map API with Tapestry5. PDF viewer component provide to Tapestry user
view PDF document through the web browser. Both components are mainly based
on Java Script.

*
*

*Deliverables*


   - Implementation of Google Map component
   - Implementation of JavaScript-only PDF viewer component
   - Documentation to support continuation of the project



*Overview*

*
*

*Google Map component***

This component provide users to a clickable map for entering
latitude and longitude as well as it can  add content to the map through a
variety of services, allowing you to create robust maps applications on your
T5 web application.

Google Map component can be used to create interactive maps with various map
markers. I’m hoping to implement this module by using Tapestry5 Ajax package
and Java Script (Tapestry5AndJavaScriptExplained) make an interaction with
Google Map API.



*JavaScript-only PDF viewer component*

These components allow to viewing PDF file directly in web
browser .Now look at my implementation of this component. One of the
effective and powerful way to view PDF in web browser by using Java Script.

My implementation includes classes, object and method that
enable you to easily manipulate PDF file, provide database connections and
other use full things. To render PDF, I will do render the whole document at
once and cache the pages, then contents shown to the user. Ajax is used to
load the content asynchronously.



*Project Plan*

*I have planned the project under 4 steps as follows*

*Step 1: Initial Planning and Designing*

*I will look at both Tapestry 5 framework Google map API then will create a
basic design for Google map component.** *In* *PDF viewer component I will
design all the Java Script classes, method and workflows. **

Estimated Completion: 23ed May 2010* *

*Step 2: Implementation*

I would start working on the code. Deliverable(s): Prototype and
documentation for mid evaluation

Estimated Completion: 11th July 2010**

*Step 3: Improvements and Testing*

Modifications or improvements suggested at the mid evaluation would be
completed in this step. Write unit tests for finished segments and Test
Component.

Estimated Completion: 9th August 2010**

*Step 4: Final Product and Documents*

With the completion of this step, will finish the Google Map Component and
JavaScript-only PDF viewer component for T5. Necessary documents would also
be present with the final products. Deliverable(s): Final products and
documentation.



*Biography*

I am Charitha Madusaka Elvitigal 2rd year Computer Science undergraduate of
University of Colombo School of Computing (UCSC), Sri Lanka. I have been
involved in Open Source development regarding Web Services based on Apache,
java and Java Script.


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
Hi Uli ,

First of all I'm thank you for your comment :-)


I wonder though, why you would need SOAP for the JavaScript only PDF viewer?


Because I think Applications written in Java can easily integrate JavaScript
only PDF viewer component with Web services using SOAP.

Now i'm think  load the contents asynchronously via Ajax good.


> How will you render the PDF so that the contents can be shown to the user?


I'm planing to use render the whole document at once and cache the pages
method.

Now i will revise my proposal and need any suggestion about Google
map component.


Cheers,

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
Hi Uli ,

First of all I'm thank you for your comment :-)


I wonder though, why you would need SOAP for the JavaScript only PDF viewer?


Because I think Applications written in Java can easily integrate JavaScript
only PDF viewer component with Web services using SOAP.

Now i'm think  load the contents asynchronously via Ajax good.


> How will you render the PDF so that the contents can be shown to the user?


I'm planing to use render the whole document at once and cache the pages
method.

Now i will revise your proposal and need any suggestion about Google
map component.


Cheers,

charith


Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Ulrich Stärk

Hello Charith,

that sounds much more like a real proposal ;).

I wonder though, why you would need SOAP for the JavaScript only PDF viewer? I think the easiest way 
would be to bind the PDF contents to be viewed to some parameter of the PDF viewer component, or 
load the contents asynchronously via Ajax.


How would you go about anyways? How will you render the PDF so that the contents can be shown to the 
user? Will you do that on a page-by-page basis or render the whole document at once and cache the 
pages? Will there be some server-side Tapestry service (not a webservice) involved?


You see, there is still much to think about, so please revise your proposal.

Cheers,

Uli

On 08.04.2010 11:34, Charith Madusanka wrote:

*Proposal Title*:

Google Map Module and JavaScript-only PDF viewer component

*
*

*Student Name:*

Charitha Madusanka Elvitigala

*
*

*Student E-mail:*

charithc...@gmail.com

*
*

*Organization*

Apache Tapestry

*
*

*Project Assigned Mentor*:

Thiago H. de Paula Figueiredo

Ulrich Stärk

*
*

*Proposal Abstract:***

Apache Tapestry is an open source java framework. Tapestry component make
easer to developers creating dynamic, robust, highly scalable web
applications in Java.

 Google Map component provides an interface to the Google map API
with Tapestry5. PDF viewer component provide to Tapestry user view PDF
document through the web browser. Both components are mainly based on Java
Script.

*
*

*Deliverables*


- Implementation of Google Map component
- Implementation of JavaScript-only PDF viewer component
- Documentation to support continuation of the project



*Overview*

*Google Map component***

 This component provide users to a clickable map for entering
latitude and longitude as well as it can  add content to the map through a
variety of services, allowing you to create robust maps applications on your
T5 web application.

*Google Map component** can be used to create interactive maps with various
map markers*. I’m hoping to implement this module by using Tapestry5 Ajax
package and Java Script (Tapestry5AndJavaScriptExplained) make an
interaction with Google Map API.



*JavaScript-only PDF viewer component*

 These components allow to viewing PDF file directly in web
browser .Now look at my implementation of this component. One of the
effective and powerful way to view PDF in web browser by using Java Script.

 My implementation includes class, object and method that enable
you to easily manipulate PDF file, provide database connections and other
use full things. Tapestry5 can easily interact with the PDF viewer component
using Simple Object Access Protocol.

*
*

*Project Plan*

*I have planned the project under 4 steps as follows*

*Step 1: Initial Planning and Designing*

*I will look at both Tapestry 5 framework Google map API then will create a
basic design for Google map component.** *In* *PDF viewer component I will
design all the Java Script classes, method and workflows. **

Estimated Completion: 23ed May 2010* *

*Step 2: Implementation*

I would start working on the code. Deliverable(s): Prototype and
documentation for mid evaluation

Estimated Completion: 11th July 2010**

*Step 3: Improvements and Testing*

Modifications or improvements suggested at the mid evaluation would be
completed in this step. Write unit tests for finished segments and Test
Component.

Estimated Completion: 9th August 2010**

*Step 4: Final Product and Documents*

With the completion of this step, will finish the Google Map Component and
JavaScript-only PDF viewer component for T5. Necessary documents would also
be present with the final products. Deliverable(s): Final products and
documentation.



*Biography*

I am Charitha Madusaka Elvitigal 2rd year Computer Science undergraduate of
University of Colombo School of Computing (UCSC), Sri Lanka. I have been
involved in Open Source development regarding Web Services based on Apache,
java and Java Script.



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
*Proposal Title*:

Google Map Module and JavaScript-only PDF viewer component

*
*

*Student Name:*

Charitha Madusanka Elvitigala

*
*

*Student E-mail:*

charithc...@gmail.com

*
*

*Organization*

Apache Tapestry

*
*

*Project Assigned Mentor*:

Thiago H. de Paula Figueiredo

Ulrich Stärk

*
*

*Proposal Abstract:***

Apache Tapestry is an open source java framework. Tapestry component make
easer to developers creating dynamic, robust, highly scalable web
applications in Java.

Google Map component provides an interface to the Google map API
with Tapestry5. PDF viewer component provide to Tapestry user view PDF
document through the web browser. Both components are mainly based on Java
Script.

*
*

*Deliverables*


   - Implementation of Google Map component
   - Implementation of JavaScript-only PDF viewer component
   - Documentation to support continuation of the project



*Overview*

*Google Map component***

This component provide users to a clickable map for entering
latitude and longitude as well as it can  add content to the map through a
variety of services, allowing you to create robust maps applications on your
T5 web application.

*Google Map component** can be used to create interactive maps with various
map markers*. I’m hoping to implement this module by using Tapestry5 Ajax
package and Java Script (Tapestry5AndJavaScriptExplained) make an
interaction with Google Map API.



*JavaScript-only PDF viewer component*

These components allow to viewing PDF file directly in web
browser .Now look at my implementation of this component. One of the
effective and powerful way to view PDF in web browser by using Java Script.

My implementation includes class, object and method that enable
you to easily manipulate PDF file, provide database connections and other
use full things. Tapestry5 can easily interact with the PDF viewer component
using Simple Object Access Protocol.

*
*

*Project Plan*

*I have planned the project under 4 steps as follows*

*Step 1: Initial Planning and Designing*

*I will look at both Tapestry 5 framework Google map API then will create a
basic design for Google map component.** *In* *PDF viewer component I will
design all the Java Script classes, method and workflows. **

Estimated Completion: 23ed May 2010* *

*Step 2: Implementation*

I would start working on the code. Deliverable(s): Prototype and
documentation for mid evaluation

Estimated Completion: 11th July 2010**

*Step 3: Improvements and Testing*

Modifications or improvements suggested at the mid evaluation would be
completed in this step. Write unit tests for finished segments and Test
Component.

Estimated Completion: 9th August 2010**

*Step 4: Final Product and Documents*

With the completion of this step, will finish the Google Map Component and
JavaScript-only PDF viewer component for T5. Necessary documents would also
be present with the final products. Deliverable(s): Final products and
documentation.



*Biography*

I am Charitha Madusaka Elvitigal 2rd year Computer Science undergraduate of
University of Colombo School of Computing (UCSC), Sri Lanka. I have been
involved in Open Source development regarding Web Services based on Apache,
java and Java Script.