Web Frameworks¶
Contents
Javascript¶
JS Libraries¶
JS CDNs¶
JS Packaging¶
CommonJS¶
CommonJS is more than just packaging
NodeJS modules are very similar to CommonJS modules
exports( );
require( );
ES2015 Modules¶
import ;
export ;
System.js¶
System.js supports CommonJS, NodeJS, AMD, and ES2015 Modules
PHP¶
PHP Security¶
https://www.owasp.org/index.php/PHP_Security_Cheat_Sheet
https://www.owasp.org/index.php/PHP_Top_5
https://www.owasp.org/index.php/PHP_Configuration_Cheat_Sheet
https://www.owasp.org/index.php/OWASP_PHP_Security_Project
Unmaintained but still a good reference.
HHVM¶
PHP Frameworks¶
Symfony¶
API Platform¶
Built on Symfony
RESTful Schema.org JSON-LD, Hydra
https://github.com/api-platform/admin
Angular, ng-admin
PHP Applications¶
MediaWiki¶
Semantic MediaWiki¶
Semantic Mediawiki (SMW) is an open source extension of MediaWiki for semantic data.
SQL (MySQL)
SPARQL (Virtuoso, 4store, Blazegraph, Fuseki, Sesame)
Concepts: ~composable saved searches
https://www.semantic-mediawiki.org/wiki/Help:Concepts
seeAlso:
Semantic Web, Linked Data, RDFS, OWL
Semantic Bundle (includes SMW)
Wikibase (Wikidata)
Dbpedia (MediaWiki infoboxes)
PHP Testing¶
Python¶
https://westurner.github.io/wiki/awesome-python-testing#web-frameworks
Python Frameworks¶
Python Testing¶
WebTest¶
WebTest is a tool for testing WSGI applications without running a webserver (e.g. Pyramid, Flask, Django, Bottle)
Splinter¶
multi webdrivers (chrome webdriver, firefox webdriver, phantomjs webdriver, zopetestbrowser, remote webdriver)
css and xpath selectors *
Ruby¶
irb: interactive ruby shell
rdoc
erb:
capistrano
https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/
Ruby Frameworks¶
Ruby on Rails¶
ActionController
acts_as_authenticated
_partials
jQuery, CoffeeScript, Sass
Convention over Configuration¶
CoC: Convention over Configuration
File naming defaults,
Don’t Repeat Yourself¶
DRY: Don’t Repeat Yourself
Models have many attributes and representations
Ruby Servers¶
Phusion Passenger¶
Phusion Passenger is a web server
Nginx, Apache, Standalone
Serve apps written in Ruby, Python, Node.js
Development mode restart:
#TODO touch .RESTART_FILENAME
Web Testing¶
Browsers¶
- Headless BrowsersA list of (almost) all headless web browsers in existence
https://github.com/dhamaniasad/HeadlessBrowsers
https://github.com/substack/browser-launcher
https://github.com/nodeca/navit
“All methods are chainable” (Helpful instead of
async/await)