forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [issues] New comment: (FOR-14) Dependencies not granular
Date Thu, 01 Jan 1970 00:00:00 GMT
The following comment has been added to this issue:

     Author: Nicola Ken Barozzi
    Created: Sat, 11 Jan 2003 2:33 AM
       Body:
Every time I tell someone, like Jeff does, that there is the live web version, I get the reply
that they don't want to open ports just to develop webpages.

Let me try to explain what we mean.

We are not talking about *deployment* but about editing the pages *locally*, on the computer
of the developer.
Let's say that I want to edit a page on my personal computer. I cd into the project dir and
type "forrest run". Then forrest automatically runs its embedded webserver on my computer
at port 8888 (default) and I can see the pages on my browser at localhost:8888 .
When I'm finished, I close forrest, and synch with the repository. If I need to publish the
site, I can *then* run the CLI version and publish the *static* site to its location. Or use
forrestbot and have it done automatically.

Is opening a port at 8888 a problem on your computer because you are not behind a firewall?
If you configure your firewall correctly you can easily deny traffic from outside from that
port and keep it from your computer only. 

If you aren't able to do it, change the port to another value in forrest.

The bottom line about this is that we are never going to suggest CLI for page editing, because
it will be always be much slower than the one just explained.

That said, it is possible to optimize the CLI to not generate pages that have not changed,
because it is able to get from the environment the last-changed value. The problem is that
cirrently that value is not generated and not used in the CLI, and that we have to cache all
the links in a page because Cocoon crwals to generate the site.
---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-14


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-14
    Summary: Dependencies not granular
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Forrest
  Component: Core operations

   Assignee: 
   Reporter: Ralf Hauser

    Created: Sat, 11 Jan 2003 1:08 AM
    Updated: Sat, 11 Jan 2003 1:08 AM
Environment: 030110
(see   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-13)

Description:
When I change one word in the file src\documentation\content\xdocs\index.xml
and then type "forrest", all files in fst\build\site get rebuilt.
This is very inefficient and time-consuming - it doesn't scale! I guess as long as the true
functionality of ant in this respect isn't used, no big/serious website will use forrest.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message