Project

General

Profile

Wt and server and reading custom files Questions

Added by Obelix Stone almost 6 years ago

I have question about how to run Wt server and reading files.

1. Server

In examples there is easy code for running server with Run() but example like Hangman there is custom set up.

What is diference, it is same? When I create simple website, with simply Run function, it is ok?

2. reading files

I want read text in my own xml files. From examples there are xml files with objects for text. Can I use my own custom xml files? I want use pugi.xml library for xml files and std::filesystem for my custom or txt files instead boost filesystem library. It is ok, or there will be some hidden conflicts?


Replies (2)

RE: Wt and server and reading custom files Questions - Added by lm at almost 6 years ago

Fine on both counts. I have an application currently that uses the simple run function, and also uses pugixml to read XML data.

    (1-2/2)