Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 3.78 KB

technology_descriptions.md

File metadata and controls

35 lines (28 loc) · 3.78 KB

Details about technologies in this repo

Flask and flatpages in Django

  1. Django Flatpages and Ckeditor
  • Flatpages are used to create a standard template that can be applied to all static pages in a project. The standard template can include headers, footers, sidebars, etc. Additionally, the user can edit each individual flatpage to include its unique content. This allows users without html, css, or java knowledge to add and edit pages for their site. Ckeditor offers tools for the user to make edits to the contents of each page. The following tutorial describes how the basic Ckeditor configuration is installed, as well as offers instructions for installing the 'file upload' Ckeditor feature. The user can make additional alterations to this configuration to access editing tools that they find beneficial to the creation of their site.

Dash app and Django

  1. dash
    • A dashboard offers multiple visualizations with ways to sort and filter the data simulatiously. There are many solutions available to create a dashboard. Our current favorite is called Dash, which offers a relatively easy way to define the layout and callbacks for a React.js app using Python. The layout determines what elements appear on the page, such as buttons, graphs and datatables. A callback defines how each element is updated. Dash apps can be added to Django projects with the django-plotly-dash app.

PDF building

  1. pdf_building
  • reportlab is a software for building PDFs from XML or Python instructions. Because it can interpret Python instructions, reportlab can be used to dynamically generate PDFs that vary in format and content. For instance, if we want to give site visitors the ability to view and download digitized resources as a PDF rather than a webpage, reportlab can be used in the backend to fill out a PDF template with the relevant content and metadata, or even make structural changes to a PDF document according to user specifications, database content, or other parameters.

Search

  1. search_tools
  • an advanced search tool like the one used in the Global Terrorism Research Project. All of the querying is handled with standard Django querying and filtering in addition with Django Q()'s. I recommend taking a look at those links for more details, or if you run into any problems.

Translations in Django

  1. internationalization
    • How to add translations to a django site

Things related to maps and geography

  1. GeoDjango and Geocoding (NEW)
    • Want to create a world-class geographic Web application through Django? GeoDjango, built on Python and Django, is a great toolkit to help you handle with spatial database and build a GIS Web application. When you have address information (like a home address) and want to show them on a map, Geocoding API from google maps helps you convert the descriptive addresses into geographic coorindates (longitude and latitude) so that you can place markers on the map or position the map.
  2. StoryMap JS
    • StoryMapJS is a tool to help you tell stories on either a map, a series of map or big image that highlight the locations of a series of events. StoryMapJS creates a JSON object that can be incoporated into an Django app, dispalyed on the Web application through Javascript in an HTML template.

Django toolkits miscellanea

  1. AutoComplete
  2. Email Verification
  3. Captcha Verification
  4. Datatable
  5. Django Proxy Models
    • A proxy model is just another class that provides a different interface for the same underlying database model. A proxy model is a subclass of a database-table defining model. Typically creating a subclass of a model results in a new database table with a reference back to the original model’s table - multi-table inheritance. A proxy model doesn’t get its own database table. Instead it operates on the original table.