The issues with javascript in HtmlUnit could probably be fixed by using some
of the new but as yet not announced rhino implementations floating around:

ftp://ftp.mozilla.org/pub/mozilla.org/js/

I've heard that people are able to do full dom document operations and stuff
in it now without very much work.

I'm assuming most of the new stuff is related to compatibility with js2 as
well as whatever those crazy freaks at google are doing to it.

On 7/26/07, Dan Adams <[EMAIL PROTECTED]> wrote:

The htmlunit stuff is still pretty experimental and I've speced out what
it might look like but haven't done any heavy development. Currently we
have a number of integration tests that use htmlunit (which works great
except for javascript heavy stuff). The idea is to re-implement the
piece of htmlunit that does http connections so that it communicates
with PageTester rather than making http requests to a server. Then
rather than having to translate html text into a htmlunit dom it would
convert the tapestry dom into the htmlunit dom. Events in htmlunit such
as link.click() would actually result in calling pageTester.clickLink().

I've looked into it a bit and it seems pretty feasible (you basically
just implement WebConnection). I'll probably do this so that we can
integration test our CMS apps from within unit tests without having to
separately start the environment but that won't be for a little while.

On Thu, 2007-07-26 at 10:00 -0400, D&J Gredler wrote:
> Hi Dan,
>
> Congrats! I like the @Once idea, that'll be really cool.
>
> Out of curiosity, can you elaborate on the HtmlUnit integration? How has
> that gone?
>
> Take care,
>
> Daniel
>
>
> On 7/26/07, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys. Good to be joining the team. Here's some background on how
> > I've been using Tapestry at my company (Interactive Factory):
> >
> > When I first came to our company just over 2 years ago we were using
> > what was essentially a home-grown Struts designed such that it was
> > Windows-only (despite it's being Java). After evaluating a number of
web
> > frameworks (and having worked with JSF at Sun) I promptly discarded
our
> > current code base and started afresh with T4 (and a number of other
> > frameworks such as Hibernate and Spring). The result was, as expected,
> > awesome. What I created for one project was then used on another,
pulled
> > out into a central library of components, and is now the basis for
> > essentially all our projects, both CMS and custom publishing, ranging
> > from the fairly simple to to incredibly complex.
> >
> > The most unique usage of Tapestry I've had is an internal CMS
> > rapid-prototyping tool called ProtoCMS. It uses a simple XML CMS
> > definition and an object model stored as on ASO to render entire
> > interfaces of pages and components on the fly. This project is proof
of
> > Tapestry's capabilities and that component-based development works. In
> > as little as 30 minutes you can create a functional CMS prototype for
> > use in sales presentations or project specification. Prototypes are
also
> > easily editable through a javascript-based, ajax-enabled XML editor
and
> > can be skinned custom to each client. Since it is a prototyping tool,
it
> > allows creating new, re-usable components and functionality via a
> > templating language.
> >
> > I'm now looking forward to the next major release of our internal
> > libraries based on T5 which is driving all of the tickets and patches
> > I've submitted as well as my becoming a committer. I am aiming pretty
> > high with the features in this release so it's really exercising what
T5
> > can do. Some notable things I'm looking forward to or have been
working
> > on:
> >
> > - Enhancement of tapestry-hibernate to be more configurable and more
> > usable in both small and complex systems
> >
> > - Inspired by T5 I've been intentionally pushing the limits of what
you
> > can do with PageTester including: integration with HtmlUnit, running
> > Jetty in-process so your tests and application run in the same JVM,
and
> > automatic start-up of HSLQDB including creation of tables for
Hibernate
> > entities.
> >
> > - Other possibly niceties such as one-off form validation and the
@Once
> > annotation for caching method results optionally dependent on a
binding.
> >
> > I'm looking forward to working with all of you and I can't wait to see
> > just how good T5 is going to be.
> >
> > On Thu, 2007-07-26 at 13:37 +0900, Nick Westgate wrote:
> > > Yeah, congrats Dan.
> > >
> > > Dan has logged a lot of JIRA issues, so hopefully we can look
> > > forward to some stuff that Howard doesn't have time for. ;-)
> > >
> > > Cheers,
> > > Nick.
> > >
> > >
> > > Daniel Jue wrote:
> > > > Congrats Dan, I can't wait to see some impressive stuff! =)
> > > >
> > > > Can you tell some features we can look forward to?
> > > >
> > > >
> > > >> Dan ... get started on that CLA:  Here's some information you'll
> > need:
> > > >>
> > > >> http://apache.org/dev/pmc.html#newcommitter
> > > >>
> > > >> Congrats!
> > > >>
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > --
> > Dan Adams
> > Senior Software Engineer
> > Interactive Factory
> > 617.235.5857
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to