Ugly websites make more money killer websites and electronic marketing for small busin
TwigYard – The Final Solution for Small Websites
-
Upload
adam-kudrna -
Category
Internet
-
view
130 -
download
0
Transcript of TwigYard – The Final Solution for Small Websites
![Page 1: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/1.jpg)
TwigYard — The Final Solution for Small Websites @AdamKudrna @Frontendisti / Prague, CZ, September 2017
![Page 2: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/2.jpg)
At VisionApps, we strive to build our software the best way we are capable of.
![Page 3: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/3.jpg)
Our web applications are secure, responsive and robust. We put much effort into writing high-quality code that is easily maintainable, extensible, future-ready and less error prone.
![Page 4: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/4.jpg)
Of course, this approach costs money.
![Page 5: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/5.jpg)
Has any of your friends ever asked you to help her with her <device of any type> just because you are the guy who understands computers? And how many of them asked you to create a website for their girlfriends’ mother’s hairdressers’ (triple apostrophe!)?
![Page 6: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/6.jpg)
There are couple of working solutions for such cases. Jekyll generates static sites but does not offer forms or similar interactive features (without AJAX). With Wix you can build a simple site from a template but it lacks possibility of customization. Finally, WordPress enables you to build complex custom-tailored sites, or even e-shops.
![Page 7: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/7.jpg)
You should remember to maintain and update your websites so they are secure. Which is fine when there are just a few of them…
![Page 8: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/8.jpg)
… but it becomes a pain when it grows to many.
![Page 9: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/9.jpg)
This is when we realized there is something missing in the world of small-website tools.
![Page 10: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/10.jpg)
We started designing a new tool with a single core in mind. A single application to run and maintain was one of the keypoints.
![Page 11: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/11.jpg)
We wished to connect as many sites as we want to the core. Since the sites only consist of their configuration, templates and static assets, they are easy to maintain. Better said, most of the time they do not have to be maintained at all.
![Page 12: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/12.jpg)
Since we decided to use PHP with Twig as the templating tool, we started to call our new project TwigYard.
![Page 13: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/13.jpg)
Imagine your websites being handled by a single application core. One web hosting, multiple domains.
![Page 14: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/14.jpg)
Or even lots of domains.
![Page 15: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/15.jpg)
With Docker, it is really easy to run TwigYard in multiple environments such as dev or staging. Or your localhost.
![Page 16: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/16.jpg)
We believe TwigYard fulfills 80 % of users’ (clients’) needs. (OK, we made up the number.)
![Page 17: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/17.jpg)
First of all, there is no database. No administration, no login form, no way to inject harmful code into your website. However, you can store your data in YAML files if you need to and work with them in your templates.
![Page 18: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/18.jpg)
Templates are built using Twig templating language. We all know Twig, right?
![Page 19: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/19.jpg)
Since contact forms are quite a standard on almost every website, you can enhance your site with forms. Currently, forms can be sent by email and logged.
![Page 20: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/20.jpg)
Any TwigYard website can be easily localised. As for now, TwigYard supports English, German, French, Spanish and Czech.
![Page 21: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/21.jpg)
Have you ever manually prepared responsive variants of your images? TwigYard can do it for you. The only thing you need is a single source image from which TwigYard generates as many cropped or resized versions as you want. We really love this one!
![Page 22: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/22.jpg)
All of these features are implemented in TwigYard using PSR-7 Middleware architecture. This is why it is possible to add any custom middleware to eg. connect to an API.
![Page 23: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/23.jpg)
Did we say TwigYard does not have an administration interface? WordPress can also be an API.
![Page 24: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/24.jpg)
To sum up, this is why we love building small and middle-sized websites on TwigYard.
![Page 25: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/25.jpg)
We believe TwigYard fills the gap between static generators, online SAAS and complex content management systems.
![Page 26: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/26.jpg)
Find the documentation on http://twigyard.com or explore demos on https://github.com/twigyard. Yes, TwigYard is free and open-source!
![Page 27: TwigYard – The Final Solution for Small Websites](https://reader031.fdocuments.us/reader031/viewer/2022030318/5a65517a7f8b9a76138b4a5f/html5/thumbnails/27.jpg)
Thank you!