A web site in Finland for an ancient martial art from Japan.
All the code is under the Creative Commons Attribution-ShareAlike 4.0 International Public License.
Full legal text also available in
About the martial art
Naginata is a weapon made of a long wooden stick on which a curved blade is attached.
The art of using this weapon is often called simply as Naginata, but more accurately it can be called as Atarashii Naginata, in the case of the post-Meiji era standardised version.
The method of using naginata as a weapon has existed much longer and some around 500 styles have existed in the past.
Today these are still some ten active style, of which most of them contain other weapons aside using just a naginata. In any case in these styles naginata is used against a sword.
This website will focus on the following two:
- Atarashii Naginata (http://naginata.jp/)
- Jikishinkageryu Naginatajutsu (http://www.jikishin-naginata.jp/)
About this software project
The main reason for this website and this GitHub project is to learn to use the given technologies and to promote the martial art.
naginata.fi is privately registered to Jukka Paasonen.
Mari Paasonen has been kind enough to provide the Japanese translations for the content.
Leena Lecklin was kind enough to draw the
used in the Atarashii Naginata page.
Contributors are welcome.
Any changes made to this GitHub repository, are automatically deployed to Netlify, hence any content updates are visible via the web site almost immediately.
Linting is done with ESLint and can be executed with
npm run lint.
- HTML5 for markup (http://developers.whatwg.org/)
- CSS3 for styling (http://www.css3.info/modules/)
- Google Web Fonts (http://www.google.com/fonts)
- Google Analytics
List of software used for making
npm install npx grunt node build.js
Unit tests for back end are using Jasmine and for code coverage Istanbul.
Web performance tests are done with...
sitespeed.io -u http://naginata.fi -k true -d 2 gem install wbench wbench -n http://naginata.fi > wbench.md
Style coverage is measured with several tools:
npm install -g ucss ucss npm install -g stylestats stylestats -t html public_html/css/main.css > stylestats.html npm install -g parker parker public_html/css/main.css > parker.md
- Speed study (http://blog.chromium.org/2010/07/do-you-know-how-slow-your-web-page-is.html)
- Facebook liking and related, https://developers.facebook.com/tools/debug/og/object?q=naginata.fi
- Further CSP tuning, https://www.owasp.org/index.php/Content_Security_Policy
Versions before 0.4.0 were using PHP as the backend and content editing was done at the site, after OpenID based login. Content was stored as HTML5 in MySQL database.
PHP version was made to match the same simplified functionality as the Node.js counterpart in 0.4.1.
Around the release of 0.6.0, the actual
naginata.fi domain was moved to Heroku and served from there with Node.js.
In late April 2019, deployment of the site was moved to happen in Netlify, instead of Heroku, which also meant that the site is now build as a static web site.