Genie Discord forum

Author AvatarSparky
3/8/2023, 2:43:00 PM

Hi, I was going through the documentation on how to create a new app. I tried the code snippet I found. But I keep on getting an error "ERROR: UndefVarError: newapp_webservice not defined".

After searching for a solution, I came across a Reddit post addressing the same issue and solution -

Could the documentation be updated to reflect the necessary changes (if any), please. Thank you for all you do!

Author Avatarabhimanyuaryan
3/8/2023, 7:09:21 PM

newapp_webservice is in Generator module

Author AvatarSparky
3/8/2023, 10:44:41 PM

Thanks. The mixup came from the link I was being directed to ( Thanks for the clarification ๐Ÿ˜ƒ

Author Avatarabhimanyuaryan
3/18/2023, 7:48:45 PM

also @Sparky mvc_app and web services are two different things

Author Avatarabhimanyuaryan
3/18/2023, 7:51:48 PM

to create a website and not fullstack app you need to do:

Author AvatarSparky
3/19/2023, 11:13:14 PM

My bad. I mixed it up. Thank you

Author Avatarabhimanyuaryan
3/20/2023, 7:43:59 AM

MVC is a design pattern. A web service can also use this design pattern

Author Avatarabhimanyuaryan
3/20/2023, 7:46:25 AM

there are other design patterns besides MVC. One I know is MVP(mostly famous in Microsoft asp world):