2013/5/13 Burak Kulakli <[email protected]>
> Thanks a lot Wim.
>
> About dbo, I need an example about migration scripts. Suppose that I
> have an application running using the class below
>
> class User {
> public:
> std::string name;
>
> template<class Action>
> void persist(Action& a)
> {
> dbo::field(a, name, "name");
> }
> };
>
> Then in new version, I've added a new attribute called age
>
>
> class User {
> public:
> std::string name;
> int age;
>
> template<class Action>
> void persist(Action& a)
> {
> dbo::field(a, name, "name");
> dbo::field(a, age, "age");
> }
> };
>
> There is a method called createTables(). Is there (or will be) a
> method to update existing tables (Ex. updateTables)?
> If not, I need an example code how to add age to an existing database
> (need SQL queries I guess)
>
>
Indeed, that would be 'alter table add column ...'.
> About tests, I mean a black box user testing, a browser automation. Any
> ideas?
>
>
The usual applications can be used. It's a bit more difficult because most
of these programs use the id of a field, and Wt automattically assigns
random id's, so there may be a problem finding the right elements to click
on. We will be publishing information on how to use Selenium IDE in
combination with Wt's object name mechanism soon (probably on the blog),
since this is a returning question.
BR,
Wim.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest