Popularity
7.6
Stable
Activity
0.0
Stable
156
10
42
Monthly Downloads: 236
Programming language: Elixir
License: MIT License
Tags:
Framework Components
Latest version: v0.2.3
phoenix_haml alternatives and similar packages
Based on the "Framework Components" category.
Alternatively, view phoenix_haml alternatives based on common mentions on social networks and blogs.
-
dayron
A repository `similar` to Ecto.Repo that maps to an underlying http client, sending requests to an external rest api instead of a database -
rummage_phoenix
Full Phoenix Support for Rummage. It can be used for searching, sorting and paginating collections in phoenix. -
phoenix_token_auth
Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps. -
access pass
provides a full user authentication experience for an API. Includes login,logout,register,forgot password, forgot username, confirmation email and all that other good stuff. Includes plug for checking for authenticated users and macro for generating the required routes. -
Votex
Implements vote / like / follow functionality for Ecto models in Elixir. Inspired from Acts as Votable gem in Ruby on Rails -
trailing_format_plug
An elixir plug to support legacy APIs that use a rails-like trailing format: http://api.dev/resources.json -
plug_canonical_host
PlugCanonicalHost ensures that all requests are served by a single canonical host. -
phoenix_html_simplified_helpers
Some helpers for phoenix html( truncate, time_ago_in_words, number_with_delimiter, url_for, current_page? )
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of phoenix_haml or a related project?
README
Phoenix Template Engine for Haml
Powered by Calliope
Usage
- Add
{:phoenix_haml, "~> 0.2"}
to your deps inmix.exs
. If you generated your app from the Phoenix master branch, add phoenix_haml's master branch to your deps instead.{:phoenix_haml, github: "chrismccord/phoenix_haml"}
Add the following to your Phoenix
config/config.exs
config :phoenix, :template_engines, haml: PhoenixHaml.Engine
Use the
.html.haml
extensions for your templates.
Optional
Add haml extension to Phoenix live reload in config/dev.exs
config :hello_phoenix, HelloPhoenix.Endpoint,
live_reload: [
patterns: [
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
~r{web/views/.*(ex)$},
~r{web/templates/.*(eex|haml)$}
]
]
Generators
Generate Resource
Generates a Phoenix resource similar to mix phoenix.gen.html
except it generates
haml templates.
mix phoenix_haml.gen.html User users name:string age:integer
Generate Layout
Generates a haml layout template, replacing the eex version.
mix phoenix_haml.gen.layout