Hi,
nice, if that helps.
I just had an idea, how to help.
As you know, I like the idea to have all pages in my application binary. Even
the static ones. Maybe you know the feature to create multibinary components
with ecppc using -bb. Currently the binaries are addressed by the file name.
But I may add a more sophisticated mapping, so that full file paths address the
components inside these multibinary components. Oh - it quite difficult to
explain. Maybe I try to explain with a example.
You may have a directory of files:
mylib/file1.js
mylib/file2.js
mylib/foo.css
mylib/bar.jpg
Something like "ecppc -r mylib -n mycomponent" (-r for recursive) or "ecppc -
bb mylib/* -n mycomponent" may create a component, which packs all files
together in one component, where each part is addressed by the full path.
You get a component mycompon...@mylib. You may the add to your tntnet.conf:
MapUrl ^/(mylib/.*)$ mycompo...@mylib $1
And tntnet deliveres the files you packed in that component. It would be easier
to handle whole directory trees.
Am Mittwoch, 2. Dezember 2009 09:00:29 schrieb Jean-Michel Personne:
> Hello,
>
> I think sta...@tntnet is the best solution when we have many files and many
> subdir. It works fine and it's very fast.
>
> I have another question : does tntnet compile and work under MS Windows ?
>
>
And about MS Windows: short answer: no.
You are for sure not the first, who asks about that. There is not too much to
do to port tntnet to windows, but still enough. Threading and process handling
is quite different. Networking is similar. Poll may be a problem. I don't know.
I just happen not to use windows at all. I even have a windows machine at
hand. There are ideas to crosscompile with mingw on linux and run on reactos
but nobody has done that. I feel windows is just too limited for me to use.
Tommi
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general