Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

web facing static text db

瀏覽次數:29 次
跳到第一則未讀訊息

Fetchinson .

未讀,
2016年4月29日 下午6:48:142016/4/29
收件者:
Hi folks,

I have a very specific set of requirements for a task and was
wondering if anyone had good suggestions for the best set of tools:

* store text documents (about 100000 pages)
* the data set is static (i.e. only lookups are performed, no delete,
no edit, no addition)
* only one operation required: lookup of pages by matching words in them
* very simple web frontend for querying the words to be matched
* no authentication or authorization, frontend completely public
* deployment at webfaction
* deadline: yesterday :)

Which web framework and db engine would you recommend?

So far I'm familiar with turbogears but would be willing to learn
anything if sufficiently basic since my needs are pretty basic (I
think).

Cheers,
Daniel


--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

Chris Angelico

未讀,
2016年4月29日 晚上7:23:472016/4/29
收件者:
On Sat, Apr 30, 2016 at 8:29 AM, Fetchinson . via Python-list
<pytho...@python.org> wrote:
> * store text documents (about 100000 pages)
> * the data set is static (i.e. only lookups are performed, no delete,
> no edit, no addition)
> * only one operation required: lookup of pages by matching words in them
> * very simple web frontend for querying the words to be matched
> * no authentication or authorization, frontend completely public
> * deployment at webfaction
> * deadline: yesterday :)
>
> Which web framework and db engine would you recommend?

PostgreSQL has decent facilities for text search. You can access that
from Python using the psycopg2 module, and use something like Flask to
help you put together your front end.

ChrisA

Gordon Levi

未讀,
2016年4月30日 凌晨4:18:112016/4/30
收件者:
"Fetchinson ." <fetch...@googlemail.com> wrote:

>Hi folks,
>
>I have a very specific set of requirements for a task and was
>wondering if anyone had good suggestions for the best set of tools:
>
>* store text documents (about 100000 pages)
>* the data set is static (i.e. only lookups are performed, no delete,
>no edit, no addition)
>* only one operation required: lookup of pages by matching words in them
>* very simple web frontend for querying the words to be matched
>* no authentication or authorization, frontend completely public
>* deployment at webfaction
>* deadline: yesterday :)
>
>Which web framework and db engine would you recommend?
>
>So far I'm familiar with turbogears but would be willing to learn
>anything if sufficiently basic since my needs are pretty basic (I
>think).
>

What do need that storing the documents in HTML format and Google
Custom Search does not provide
<https://support.google.com/customsearch/answer/2630969?hl=en>?

Fetchinson .

未讀,
2016年4月30日 下午1:34:482016/4/30
收件者:
Wow! Thanks, I was not aware of that, sounds exactly what I need.

Thanks for all the other ideas too.

sum abiut

未讀,
2016年5月1日 晚上11:27:292016/5/1
收件者:
Django is an excellent framework. you can use it with sqlite.

cheers

On Sat, Apr 30, 2016 at 7:17 PM, Gordon Levi <gor...@address.invalid> wrote:

> "Fetchinson ." <fetch...@googlemail.com> wrote:
>
> >Hi folks,go >
> >I have a vo ery specific set of requirements for a task and was
> --
> https://mail.python.org/mailman/listinfo/python-list
>
0 則新訊息