← Back to team overview

zim-wiki team mailing list archive

Re: Searching on the server

 

+1 for django.

Django is made up from building blocks, which you replace if you have special specs. Thus, it is easy to detour to “other” data sources. I already did this a couple of times. It should be easy with a zim database source too.

Zim is written in python anyway. During development we will identify shared code. When time is ripe we may extract it into a “zim lib” with a desktop app and a web app on top.

Additional requirements like encryption or whatever may link into that modulary in a later or concurrent phase.

Sincerely, Mayk.

From: Zim-wiki <zim-wiki-bounces+mory=dr-ecklebe.de@xxxxxxxxxxxxxxxxxxx> On Behalf Of Gergely K.
Sent: Wednesday, 13 May, 2020 15:35
To: Shivam Sharma <shivam.src@xxxxxxxxx>
Cc: Zim <zim-wiki@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Zim-wiki] Searching on the server

Slightly off but my advice is not to go with Django. It was a clever framework (does things ahead of time, like orm) and has some unique features, but it's components are not standard and it is a bit glued-together. Rather go with standard libraries (which you can use in any (non-web) projects)!

On Wed, May 13, 2020 at 3:00 PM Shivam Sharma <shivam.src@xxxxxxxxx<mailto:shivam.src@xxxxxxxxx>> wrote:
Wow. That was quick. I will test your patch.

And the idea for building a full-fledged web application around Zim is great. It should be started as a separate project, however. Zim community may not welcome the idea integrated into Zim since Zim has been very robust by being lean (and not being too many things at once).

If you do start work on the project, I'd be willing to help. I have some experience with Flask but not much with Django.

On Wed, 13 May 2020 at 16:26, Helder Guerreiro <helder@xxxxxxxxxxxx<mailto:helder@xxxxxxxxxxxx>> wrote:
On 08/05/20 16:13, Helder Guerreiro wrote:
> Is it possible to add a search box to the internal Zim server?

Since it seems there is no easy way to add search to the server I made
the patch attached (against master). There's an example search box in
the "Default_with_index" template.

But this got me thinking, now I'm looking for other features, tag list,
task list, maybe even marking tasks directly from the server or editing
pages... This seems to be a little too much for this server. Using a
framework, Django or whatever, would be easier. Maybe a separated
project from Zim?

/Helder
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx<mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx<mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


--
Mobile:(+36 20)356 9656
"Olyan lángész vagyok, hogy poroltóval kellene járnom!"

References