Project

General

Profile

Wt Blogging App

Added by Jagdish S over 4 years ago

Hi,

I have a wordpress blog with 20000 posts. But I would like to move from wordpress, because i am not happy with the new changes wp bringing. since i am a c programmer thinking of using wt to build a blogging app.

Will Wt can be used for that. Can it handle the this big data

Since this is a single page framework, how can impliment it?

can you share some example big web sites built with wt?

Regards,

Jagdish


Replies (2)

RE: Wt Blogging App - Added by Jagdish S over 4 years ago

20000 posts means 20000 pages, right? So how to implement it in wt single page framework?

RE: Wt Blogging App - Added by lm at over 4 years ago

"Pages" in WT are achieved "artificially" by replacing the contents (or part of the contents) on the page with something else. For instance, you may have a header up top and navigation bar on the left, but the main content in the middle can change based on what the user is doing. Likewise, the URL can change for the different modes of the application so that the user can come back to that mode or page easily.

For a blog, you may have https://mysite/2019/07/02/1 (it doesn't matter exactly how you do it), and your application can parse that as a year, month, day, then post number. So this would be the first post issued on July 2, 2019. Of course, you can do as you like! When a user visits your site, a new Wt::WApplication is created. To respond to the URL the user put in, handle Wt::WApplication::internalPathChanged.

These are sort of basics, so check the tutorials. If you have trouble with any details, let us know and you will surely find help.

Maybe try to keep your blogging platform generic (and freely licensed) so that the community may want to help or use it as is? Good luck!

    (1-2/2)