blob: e160b7655a5c666949e99f1bfac09b8d1e75115f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
Speaking of that interface, I changed up the look and feel a bit last
weekend. It's still at http://bitbucket.org/sjl/cherryflavoredbugseverywhere/
-- if anyone has any feedback (on any aspect of it) I'd appreciate it.
--
Steve
On Jul 3, 2009, at 8:31 PM, Chris Ball wrote:
> Hi Gianluca,
>
>> As i said in a previous mail, I am working on a "html" command
>> for be. The goal is to be able to do something like "be html
>> /web/page" to have in the /web/page directory some static html
>> pages that basically are the dump of the be repository, much like
>> ditz have. This will enable a simple and fast publish of the bus
>> list and details on the web, at least in read only mode.
>
> It might be a good idea for "be html" to use the CherryPy web
> interface
> that Steve is working on. The command could start up the CherryPy app
> and scrape all of the available pages to get a stand-alone dump; this
> would avoid having to keep two (okay, more than two at this point)
> separate sets of HTML templates in the source tree. What do you
> think?
>
>> 2) I see that every command is implemented with a python file in
>> the becommand dir. For a better code, I'd like to split the
>> command implementation into two files: a file that contain the
>> actual code and a second file that have the html related part,
>> any problem with this ? I don't like to have the html part and
>> the code part in one big and unreadable file.
>
> I agree that becommands/*.py commands should not contain any HTML
> layout code. Putting it somewhere else instead sounds fine.
>
> Thanks!
>
> - Chris.
> --
> Chris Ball <cjb@laptop.org>
>
> _______________________________________________
> Be-devel mailing list
> Be-devel@bugseverywhere.org
> http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
_______________________________________________
Be-devel mailing list
Be-devel@bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
|