Giter VIP home page Giter VIP logo

Comments (8)

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 01, 2010 14:05:34
note: the getConfig method, should return a CrawljaxConfigurationReader object, so that
it ONLY contains get methods

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From frankgroeneveld on February 01, 2010 14:12:45
I just found out my solution still has the same problem as the propertyhelper. For
example, in a testcase it is possible to use CrawljaxController.getConfig() without
constructing the CrawljaxController and thus reading a configuration that was set by
a test that was run previously.

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 02, 2010 19:56:47
My suggestion is to make the CrawljaxConfiguration object a normal instance variable
and provide a getter (which returns a CrawljaxConfigurationReader).

We should try to remove all the static references to the PropertyHelper for getting
parameter values and instead pass them as method parameters.

This way, the controller (or the crawler) can read the property values and pass them
to the underlying classes and their methods.

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 05, 2010 18:55:18
All the static references to the ProperyHelper have been refactored. All the
properties are now passed as method parameters.

The CrawljaxConfiguration object in the controller has become the main API for
setting(/getting) properties.

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 05, 2010 19:05:27
CrawljaxConfiguration should never be used, only for setting
CrawljaxConfigurationReader, so CrawlSession should only have read-access, thus a
CrawljaxConfigurationReader object

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 10, 2010 15:24:39
Changed CrawljaxConfiguration to CrawljaxConfigurationReader in the CrawlSession,
code changed in r233.

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From frankgroeneveld on February 23, 2010 10:33:11
What is the status of this? Can PropertyHelper be removed?

from crawljax.

alexnederlof avatar alexnederlof commented on June 9, 2024

From [email protected] on February 23, 2010 18:47:52
There are still two places where PropertyHepler is being used: HibernateUtil and
CrawljaxConfigurationReader

The second one requires some serious refactoring (parseTagElement).

from crawljax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.