Use Symfony for generating the webpage
Advantage
- Clean MVC pattern
- view is located in
./templates
and use twig to advanced templating - model is located in
./src/Model
and is very similar to the old AppData class - controller and routing is located in
./src/Controller
- view is located in
- Allow full translations and a
./StaticMessages.sh
file is already present - The application can be self hosted and don't need a full copy of kde-org to run
How to test
git clone git@invent.kde.org:websites/kde-org-applications-extractor
cd kde-org-applications-extractor
bundle install
bundle exec ./appstream.rb
bundle exec ./appstream_mkindex.rb
cd ..
mv icons thumbnails public
composer install
bin/console server:run
Know regression to fix
-
display unmaintained per default -
Don't display license text (do we really need it and shouldn't we just add a link to the license identifier in the sidebar) -
unmaintained links are broken -
Display big image when clicking on the thumbnail
Edited by Carl Schwan