Powered By Blogger

jueves, 12 de diciembre de 2013

El Nexus 7 blanco posa ante nuestra cámara

Filed under:

El Nexus 7 blanco posa ante nuestra cámara
Dada al popularidad del Nexus 7, suponíamos que tarde o temprano Google lanzaría variaciones del tablet, o al menos distintos colores. Precisamente eso sucedió con el anuncio del Nexus 7 blanco, y hoy tuvimos la oportunidad de tomar varias fotos del dispositivo y compararlo directamente con su hermano gemelo de distinto color.

Como suponíamos, el nuevo Nexus 7 blanco es idéntico al negro. Los dos son fabricados por ASUS, y si bien se diferencian por el color de la carcasa trasera, por la parte delantera se ven iguales. La versión blanca tiene una carcasa con aspecto más lustroso, que se siente un poco más firme en comparación con la suave superficie del modelo negro. Aparte del aspecto, el funcionamiento da la impresión de ser idéntico, y el precio, del modelo WiFi de 32 GB también lo es (270 dólares en EEUU).

Si quieres ver a este tablet un poco más de cerca, no te pierdas las fotos en la galería inferior.
Permalink | Email this | Comments

Actualización de Google Keep incluye recordatorios, colores y soporte para varias cuentas

Filed under:

Actualización de Google Keep incluye recordatorios, colores y soporte para varias cuentas
La aplicación de anotaciones de Google acaba de recibir una importante actualización, que incluye cambios de la interfaz y excelentes nuevas opciones. Por ejemplo, la nueva versión de Keep para Chrome permite otorgar colores distintos a cada nota, y mejor aún, ofrece mejor búsqueda para que encuentres la información requerida sin mucho problema.

Una actualización de Google Keep también está disponible en Android, que en la nueva versión incluye recordatorios e integración con Google Now, reconocimiento de voz para la creación de notas y la posibilidad de usar varias cuentas sin tener que reconfigurar el sistema. Además, hay nuevas opciones de reconocimiento de gestos para archivar notas viejas y mirar fotos.

Con esto, Keep tiene suficiente combustible como para convertirse en una de las aplicaciones de notas más usadas, pero ese mercado tiene fieles usuarios. Por eso, mejor te preguntaremos a ti: ¿qué aplicación usas para tomar notas?

Continue reading Actualización de Google Keep incluye recordatorios, colores y soporte para varias cuentas

Permalink | Email this | Comments

miércoles, 11 de diciembre de 2013

Turrón, el rey de la Navidad. ¿Conoces todas sus variedades?

Turrón, el rey de la Navidad

Algo que no falta en Navidad son los dulces típicos de estas fiestas, pero creo que podemos afirmar sin duda que los turrones son los reyes de todos ellos. Dulce navideño por excelencia, el turrón y sus distintos tipos es uno de los productos más tradicionales de nuestra gastronomía que no puede faltar en ningún hogar en esta época. ¿Conoces todas sus variedades? ¿Existen turrones fuera de nuestras fronteras?

Hace años que comprar turrón no es una tarea sencilla cuando uno se enfrenta al enorme catálogo de los comercios. La típica distinción de turrón duro y turrón blando ya no es suficiente, pues existen diferentes calidades y tipos de cada uno. La cosa se complica aún más con la interminable lista de sabores que han ido apareciendo en los últimos años, con variedades de pralinés y otros dulces que, sin embargo, no han conseguido quitar protagonismo al auténtico turrón tradicional.

Dulces tradicionales de origen remoto

Distintos tipos de turrón

Fijándonos en los ingredientes básicos del turrón no es difícil intuir que su origen se puede remontar a muchos siglos atrás. Los frutos secos, el azúcar y la miel son productos típicamente mediterráneos empleados desde la Antigüedad Clásica en la alimentación básica, incluso se cree que ya los pueblos griegos elaborarían una primitiva pasta energética destinada a los deportistas olímpicos.

Pero si hay una cultura que domina la cocina con frutos secos y miel es sin duda la árabe. Muchos de los dulces típicos españoles, especialmente de áreas levantinas, tienen su origen en los tiempos de Ál-Andalus, desde donde se incorporaron a nuestras tradiciones. Los investigadores sitúan el origen del turrón en un antepasado cercano que nos habría llegado a través de los árabes, quienes probablemente también lo extendieron por zonas de Italia.

En cualquier caso, las primeras menciones claras al turrón en fuentes escritas aparecen ya en el siglo XV. En el siglo XVI, la elaboaración de turrón era ya algo generalizado, e incluso se conservan las primeras recetas de esta época. Desde la zona del actual Alicante, especialmente desde Jijona, el consumo de turrones se extendió por la península convirtiéndose en un producto tremendamente popular.

Principales variedades. Turrón duro y turrón blando

Turrón, el rey de la Navidad. Turrón de jijona

Es el Real Decreto 1787/1982 el que recoge la reglamentación oficial relativa a la elaboración y comercialización de turrones y mazapanes, distinguiendo los siguientes tipos:

  • Turrón: Masa obtenida por cocción de miel y azúcares con o sin clara de huevo, con la incorporación de almendras tostadas, peladas o con piel. Se distinguen dos variedades conocidas como turrón duro y turrón blando.
  • Turrones diversos: Masas de almendras que podrán sustituirse por cualquier otro fruto seco, pelado o con piel, crudo o tostado y otras materias básicas e ingredientes diversos.
  • Turrones con féculas: Masas de los puntos anteriores a las que se han incorporado harinas o féculas alimenticias en proporción máxima de 15 por 100 de almidón en seco.

Podemos afirmar que cuando hablamos propiamente de turrón nos referimos al tipo duro, formado por almendras enteras tostadas, mientras que el blando está elaborado con almendra molida. Los máximos representantes de estos turrones son los de Alicante y Jijona, gozando ambos del reconocimiento de denominación de origen, con la protección de su Consejo Regulador.

Para diferenciar las mayores calidades de producto, los turrones se distinguen en cuanto al porcentaje de almendra en su composición total. De este modo, tanto el de Alicante como el de Jijona se dividen en las categorías de Suprema, Extra, Estándar y popular. Además del formato más común en forma de tableta rectangular, podemos encontrar estos turrones en porciones individuales, con forma de torta redonda, etc.

Otros tipos y sabores. Turrones diversos y pralinés

Turrón, el rey de la Navidad. Turrones y pralinés varios

Bajo la denominación de turrones diversos se recogen productos elaborados con ingredientes tales como cacahuete, coco, cacao, chocolate, yema de huevo, gelatinas alimenticias, licores, azúcares y otras materias básicas. Destacan por su producción los turrones de coco, de nieve o mazapán y de yema o crema. Además, estos dulces pueden presentarse cubiertos o rellenos con preparados de confitería, pastelería y frutas confitadas.

En los últimos años aparecen cada vez más variedades de los llamados pralinés en el mercado, con sabores un tanto experimentales que en ocasiones no superan su primera campaña navideña. Y es que algunos sabores rozan a veces el surrealismo, con ejemplos como yogur, ron con pasas, mousses diversos, natillas, nata, piña, crema catalana o arroz con leche.

Los primos cercanos del turrón

Nougat de Montélimar

Ya hemos comentado que la cultura árabe habría extendido parte de su gastronomía por otras zonas del mar Mediterráneo, dejando huella especialmente en el uso de los frutos secos por Italia y Francia. Esto, unido al pasado grecolatino y a las propias circunstancias geográficas del litoral mediterráneo, hace que compartamos con nuestros vecinos muchas semejanzas tanto culturales como culinarias.

El nougat es un término fácil de encontrar en la pastelería internacional. En Francia hace referencia a una elaboración de aspecto muy similar a nuestro turrón duro, siendo el más famoso el nougat de Montélimar. Este dulce consiste en una mezcla de azúcar, miel de lavanda y clara de huevo con almendras, pistachos y un toque de vainilla. También puede contener otros frutos secos y fruta confitada.

Turrón, el rey de la Navidad. Torrone italiano

En Italia existe el torrone, también muy típico en Navidad. De nuevo, está formado por una mezcla de azúcares, miel, clara de huevo y frutos secos entre dos obleas. Los más típicos llevan almendras, nueces, cacahuetes o avellanas. Los italianos también diferencian entre turrón duro y blando, aunque se distinguen principalmente por el grado de cocción de la masa de uno y otro. En los últimos tiempos han aparecido diferentes variedades, incorporando por ejemplo el chocolate.

En otros países mediterráneos existen dulces que también se emparentan con el turrón al tener el gran protagonismo de los frutos secos. Grecia, Israel o Turquía elaboran masas dulces con almendras, sésamo, nueces, pistachos y frutas, normalmente empleando miel en la masa. Como última curiosidad, en Perú existe un dulce muy popular conocido como el turrón de Doña Pepa, que poco tiene que ver con lo que nosotros conocemos como turrón ya que se asemeja más a un bizcocho con miel de distintas capas.

Recetas de turrón en Directo al Paladar

Cómo hacer turrón de chocolate crujiente. Receta de Navidad

El turrón es uno de los productos más típicos y antiguos de nuestra gastronomía, ligado a nuestra historia y nuestra cultura. Por eso es un alivio saber que su elaboración tradicional y su garantía de calidad se somete a una regulación y control estrictos, protegiénolo frente a otras variedades menores que cada año inundan el mercado. A mí me encantan muchos dulces navideños diferentes, pero sin duda el turrón duro será siempre de mis favoritos. ¿Cuál es vuestra variedad de turrón preferida?

Imágenes | Jonathan Pincas, Tamorlan, deramaenrama, Fernando, Luigi Rosa, Jeanlouis Zimmermann,
En Directo al Paladar | Turrones y mazapanes, protagonistas de la Navidad
En Directo al Paladar | Berasategui reparte en Murcia el turrón más grande del mundo

-
La noticia Turrón, el rey de la Navidad. ¿Conoces todas sus variedades? fue publicada originalmente en Directo al Paladar por Liliana Fuchs.








Los mejores complementos de Firefox en 2013

En Mozilla ya han hecho público los 13 complementos que, a su juicio, son los mejores del 2013. Yo sigo utilizando los mismos de siempre podéis verlo en estas dos entradas [1] y [2], pero sí que me han llamado la atención estos que aquí os pongo: NOTA: Recordad que cuantas más extensiones le pongáis […]

Statamic 101

Statamic is a modern PHP CMS which really makes an effort to be easy and intuitive to use. From its flat-file design to its use of technologies, like markdown and Yaml, you can accomplish an outstanding amount of work without writing any code at all.

In this article we will take a look at the process from installation to setting up a basic portfolio.

Having a flat-file design, setup is as simple as extracting the zip file you'll download from their site. There is no database involved, all the content and settings are stored locally in a host of different files, this also means you have automatic backups and versioning on all of your content, if you use something like GIT.

With the contents extracted, let's take a look at Statamic's structure.


The File Structure

There are more or less five different folders you will most likely be interacting with, and they are:

  • _config is where all your settings are held
  • _content is where you will put your Markdown files
  • _add-ons is for Statamic add-ons
  • _themes is where you build your theme
  • assets is where you can stick resources for your site

Besides these, you have the following four folders that you probably won't touch directly:

  • _app – Statamic's own source code
  • _cache – Where Statamic caches all your content
  • _logs – Where Statamic will store your logs
  • admin – The Statamic admin panel

But the first step in every Statamic site is to configure its options.


Configuration

All the configuration files are inside the _config folder like we just saw, the main file you should take a look at is the settings.yaml.

If you are new to Yaml, then all you really need to know, is that it's a data format similar to JSON except that it's meant to be a more human-readable format. It accomplishes this by not requiring any separating characters like semi-colons or quotation marks, instead it get's its structure from placement and indentation.

The settings.yaml file is really well documented so you shouldn't have a problem filling it out, some of the options you will probably want to look at are the following:

  _license_key: Enter your License Key  _site_name: My Portfolio  _site_url: http://localhost:7000  _theme: portfolio  _taxonomy:      - language  _log_enabled: true  _cookies.secret_key: Some Random Key  

Most of these are pretty straight forward, like setting the license key, your site's name and URL. The theme option sets which theme folder to load. We will get into this in a moment, but a theme is essentially the place where you specify how the different pages on your site will work. We will be creating our own theme so you can name it whatever you want, I chose 'portfolio'.

The next option is an array called taxonomy, if you have ever used something like WordPress, then you should know what this is for, basically it allows you to add a setting or 'type' to each post, which you can then use these taxonomies to filter your content and create custom pages for these groupings.

I am just adding one taxonomy; the language taxonomy, because in our example portfolio we are going to specify each work's programming languages. You don't need to create a taxonomy for each custom property, we are going to want other things in our portfolio, like links and descriptions. A taxonomy is for fields that multiple entries have in common, and for fields that you may want to create a custom page for.

The log_enabled setting turns on logging, so you can view problems which come up from the admin panel, they will be stored in the _logs folder we saw earlier. Finally the last option I mentioned is the secret key used to encrypt the cookie.

This file can now be saved out, but before we move onto content, let's take a moment to setup the portfolio template so we can see what we are doing.


Theme Basics

The template is a specific view for a single page.

Like most modern frameworks, when you load a page, you can build it up from multiple reusable components. A page in Statamic is made up of a layout a template and a content file. Both the layout files and templates can optionally also be made of even more pieces called partials.

The layout is the outer shell in which your template will be placed; this is usually used to hold the boilerplate HTML code like the head section, and as-well as the basic body that all the pages using this layout will need, like adding common libraries at the bottom of your file.

The template is a specific view for a single page. Like you can have a home page template, a contact page template, etc.. You don't need to create on per page, but I would say one per type of page.

In these templates you have the ability to use variables stored in the actual content files, so say you need a page which displays an index of books you are reading, and then another page to display a list of shows you are watching; instead of replicating most of the code for each one, you can create one template for displaying a list of objects, and then pull in the specifics of which list to retrieve from the content file itself.

The content file – like its name suggests – is the actual resource being displayed, this can range from things like an actual unique web page, to a single blog entry. We will get to these in more details in a moment.

Now instead of manually creating all these different components, Statamic provides a sort of starter template, giving you a basic structure to get started. You can download the theme folder from here.

Just place the entire folder into the _themes directory, and rename it to portfolio (as that's the theme name we declared in the settings file). You also need to rename the kindling.js file from the js folder and the kindling.css file from the css directory, to portfolio.js and portfolio.css respectively, as their is a special tag to pull these in automatically.

That's all the setup we need now, but to get a better idea of what I was talking about regarding the layout/template, let's take a look at those files. To begin with open up the file named default.html from the layouts folder, this corresponds to the default layout as you may have guessed.

  <!DOCTYPE html>  <html lang="en">      <head>          <meta charset="utf-8" />          <title>{{ _site_name }}</title>          <link rel="stylesheet" href="{{ theme:css }}">      </head>      <body>            {{ layout_content }}            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>          <script src="{{ theme:js }}"></script>        </body>  </html>  

Like I mentioned earlier, the layout is a good place to put code that is required on multiple pages (or templates rather), which is why the default layout in this file just contains the basic outline of an HTML file. Now we haven't really talked about it yet, but Statamic comes with its own templating engine, which is fairly easy to pick up, you basically just place a tag where you want something to be inserted similar to Handlebars if you are familiar.

This layout contains a couple of tags which I thought I would go through, the first of which is _site_name. This tag actually refers to the property we set up inside of the settings.yaml file. You will find this convention all throughout Statamic, you can set yaml options either globally like this, or even on a per-file basis, you can then get these options just by placing a tag with their names into your templates.

Helpers in Statamic are more like independent modules.

The next tag, which actually comes up twice is the theme tag. Helpers in Statamic are more like independent modules, so they can have multiple different functions attached to the same name; you access the individual functions with a colon and then the name of the command you want.

The theme tag is all about loading in resources specific to this theme, it can be used to pull in things like scripts and stylesheets, but also things like images and partials. It's a helper function that basically allows you to just provide the name of the resource you want and it will fill in the path to the current templates directory. So for instance if you were to write:

  {{ theme:js src="underscore.js" }}  

It would replace that with a link to a file named underscore.js inside of the current theme's js folder. By default if no src parameter is set for the js or css command, it will assume you are referring to a js or css file with the name of the current theme, which is why we renamed those files to match; it's just a matter of convenience so we don't need to specify them and it cleans up the source a little bit.

The next tag that comes up is {{ layout_content }}; this is similar to yield in other templating engines, and it basically signifies where the inner template should be inserted.

The last thing I want to do in this file is remove the link to jQuery, just because I won't be using it (if you will then you can of-course leave it).

Next let's move onto the default template file (templates/default.html), it should be blank. For illustrations sake, let's just add a tag called {{content}} which just inserts the contents of the current page being loaded.

So to recap when you goto a page it will first load the layout file, and then wherever the {{layout_content}} tag is placed this template will get inserted. This template will then just output whatever the current page has inside.

With that done, save out these files and let's move onto content.


The Content

Content in Statamic is specified in markdown files by default, and the default file which is loaded is called page.md. What I mean by this is that the same way standard web server will load index.html if no file was specified, Statamic will load page.md.

It's also worth noting that routes, or URL links in your site will be defined by the _content directory. So for example if you create a folder named 'demo' inside of the _content directory, and in it place a file named 'link.md' this will correspond to the URL /demo/link; and if you place a page.md file inside, it will be loaded if you navigate to /demo/ since it is the default file name.

Statamic comes with some demo content, but you can just delete everything inside the _content directory for this example (or move it aside for now).

Let's start with a basic home page, so at the root of the _content directory, create a file named page.md with the following:

  ---  title: Home  ---    # Welcome to the {{title}} Page  

All content files are basically split into two sections, the Yaml front-matter and the contents. The top part (between the dashed lines) is where you can put standard Yaml specific to this file, and is a good way for setting options to adjust your template files. The second part is the markdown area, where you put the contents of the actual page. You can use standard markdown as-well as Statamic helper tags.

This page will load with the default layout and template files we just setup, but if you want it to use a different one, you can specify these as options in the Yaml section at the top using _layout and _template respectively.

If you create a server at the root of your Statamic directory:

  php -S localhost:7000  

and then navigate to http://localhost:7000 in your browser you should see the H1 tag with our welcome message.

This is all you need to know to create pages in Statamic, and if you are building a fairly static site, this would be enough. But in a lot of sites we need to be able to add dynamic data, which can take the form of blog posts, shop items, or in our case portfolio works.


Entries

If you recall there is no database in Statamic, so these kinds of entries are stored in markdown files just like the page we just built, although a couple of things were done to subtly introduce multiple features to optimize things and to make it work in the admin.

First off you can name the files with a special date format so they can be sorted and filtered by date. You do this by pre-pending the title with a year-month-day pattern, so say you want to create a post named 'foobar' you would name it something like:

  2013-09-15-foobar.md  

Inside you would put all the posts settings inside the front-matter section for use in the template, and then any content underneath; just like in a page.

Now this is pretty cool, but it's the equivalent of manually entering posts into a database of a traditional system; there is another option.

Statamic comes bundled with a really nice admin, which can do all this for you, but in order to get it setup we need to tell it which fields this type of entry is supposed to have. This is done in a file appropriately named fields.yaml.

So for our example let's create a folder inside the _content directory named works, and inside the works folder let's create a file named fields.yaml. Inside the fields.yaml file we need to specify which properties our 'entries' will contain and the individual types for each of these settings.

You can either specify your fieldset (the list of fields) in the _config/fieldsets/ directory and pull in a definition, or you can just enter the definition here (or you can do both to extend an existing definition). For our simple example I am just going to put the definition here since we won't be reusing it anywhere:

  type: date  fields:   language:     type: tags     display: Programming Language     required: true     description:      type: text      display: Description      required: false     link:      type: text      display: Link      required: true     content:      type: hidden  

The first property just tells Statamic that we want these entry files to have a date property and to be named appropriately. Next we open up a YAML object named fields containing all our work entry's properties.

The first is the language field, which if you remember is the taxonomy we created in the settings.yaml. Inside each property we need to specify its type (or it defaults to a text box) its display text (which will default to the properties name) and whether it is required. There are other options you can set as-well like instructions or the default value, which you can view more information about here, besides for these settings different field types can have their own custom options.

For the language input I set it to use the tag type, which basically allows you to set multiple tags for this option, it's just a different type of input for entering its value in the admin. You can view all the different fieldtypes here or from the official cheat sheet under 'Fieldtypes'.

The description and link are pretty much the same, they will both be text boxes except one will be required and one won't be. Besides the fields you specify all entries will come with a title and content field. We don't really want a content field in our works they will be more like links, so I just set it to hidden.

The last step before we go to the admin, is to create a page.md file inside the works directory. This isn't really required but the admin will attempt to get the title of this entry type from here so it's a good idea to just place it. So create a page.md file inside the works folder with just the title set to 'Works':

  ---  title: Works  ---    

The Admin

To get into the admin we need to first create a user; again this is a simple yaml file inside of the config folder. The name of the file is the username you will use to login, and inside you configure the user's details and password.

So let's create a new user with a username of editor, again we do this by creating a file called 'editor.yaml' inside of the _config/users/ folder. Insert the following data (except with your info):

  ---   first_name: Gabriel  last_name: Manricks  roles: [admin]  email: gmanricks@gmail.com  password: password  ---    The Editor of this Portfolio  

Most of these columns are pretty straight forward and I don't think they require any explanation. The only field worth mentioning is the roles setting. Currently admin is the only option available, but in the future this will be where you would be able to adjust who can edit what.

It's also worth mentioning that the password will not stay in plain-text. After the first login, Statamic will hash the password along with a salt and include those here instead.

Everything after the dashed lines will just be stored as the content for this user, and can be used as a sort of bio for them.

Now save this file, and if your web server is still running, navigate to /admin in your browser. This will open up the login console where you can enter these properties. Like I mentioned the first time you login you will need to do this twice, once to hash the password, and the second time to actually login.

Admin Login

Once in you will see a list of our pages, included is our home page as-well as the 'Works' entry type. Let's take a look at what our fields declaration did for us; click on the Create link inside of the 'Works' bar.

Pages Admin

You should see a nice form which includes all the fields we specified along with the tite, for this demos sake, just add a few posts.

Demo Post

With some posts stored, we have completed round one; you now know how to create pages, themes, users, and entries, it's a great first step. But there is alot more Statamic has to offer.


The Templating Engine

Having some posts created is nice, but what would be better is if we could actually display them on a page. For this we will need to edit the default template.

This will be our first real interaction with the included templating engine, but not to worry, Statamic's intuitive design makes it almost 'obvious' to pick up.

To view a full list of the available tags you can take a look at the official doc page on the matter. But all we really need in our example is the entries tag, which is used to pull in entries from a specific folder in the _content directory. There are a lot of optional properties, allowing you to filter by date, or conditions like taxonomies or even standard properties. We are going to keep it simple and just list the properties by date (which is the default).

Here is the complete new default template (templates/default.html):

  <h1>Portfolio</h1>    <table>   {{ entries:listing folder="works" }}       <tr>           <td class="lang"><p>{{ language }}</p></td>           <td class="work">               <a href="{{ link }}">                   <span class="title">{{ title }} - </span>                   <span class="desc">{{ description }}</span>               </a>           </td>       </tr>   {{ /entries:listing }}  </table>  

In this code we are creating a table and just looping through all posts in the 'works' directory. These kind of block tags, where you place more HTML inside, basically assign new placeholders. Besides for providing access to things like all the post's attributes, you also get special helper variables which can tell you things like the current index, or whether this is the first or last post. We won't be using any of those variables, all we need is to display the title / language / description and link. However if you load up the page in your browser, you will probably realize that instead of showing the language it just says "Array".

This is because we set this property to be of type tag, which means it could hold more than one language, so even though you may have only put one language, it is still being stored in an array. Luckily besides for these tag helpers, Statamic comes with modifiers.


Modifiers

To finish off this guide, let's take a look at a few modifiers which will allow us to make this page even better.

The first and biggest problem is making the language show up. If you take a look at the following cheat sheet, all the way at the bottom left, you will see a section named List Shortcuts. While not technically being modifiers, Statamic allows you to append these words to the end of a list variable, and it will instead return a string representation. The one I want to use in this situation is the standard _list helper. What this will do is separate multiple values in the array with a comma and space, and is what we would want in our situation.

To try it out, replace the {{ language }} tag to {{ language_list }}. Refreshing your browser it should be displaying the languages correctly now.

Next let's add a modifier to the title to make it all uppercase. If you have ever used something like the smarty templating engine, then it works the same way. You add a pipe to the end of the variable name and then add a modifier. In our example you just need to replace the call to {{ title }} with {{ title|upper }} and these are chainable so you can keep adding pipes indefinitely.

Now let's just add some CSS to style everything up (remember this goes in the css/portfolio.css file:

  body { background: #FAFAF5; }    h1 {   font: 800 64px 'Raleway', sans-serif;   margin-bottom: 28px;  }    table { font: 15px 'Coustard', serif; }    td { padding: 10px 10px 0 10px; }  p { margin-bottom: 15px; }    .lang p {   background: #CA9F53;   color: #FFF;   padding: 3px 5px;   text-align: right;  }    .work { text-align:left; }  .work a{   border-bottom: 1px solid #000;   text-decoration: none;  }    .title {   font-weight: 600;   color: #000;  }    .desc { color: #666; }  

And these two fonts are from Google Fonts, so you will need to add the following link at the top of your default layout file:

  <!DOCTYPE html>  <html lang="en">  <head>   <meta charset="utf-8" />   <title>{{ _site_name }}</title>   <link href='http://fonts.googleapis.com/css?family=Coustard|Raleway:800' rel='stylesheet' type='text/css'>   <link rel="stylesheet" href="{{ theme:css }}">  </head>  <body>     {{ layout_content }}     <script src="{{ theme:js }}"></script>    </body>  </html>  

If everything worked out you should see the following page (except with the works you added)

The Demo

Conclusion

Where I think this will thrive is as a blogging platform or CMS.

In this article we have went through the entire process from installing the framework, to setting everything up, creating a new entry type, and building a custom theme. It's a lot to do, and it's only possible because of how easy Statamic makes things.

We have seen alot of functionality already and we haven't even touched on creating your own modules, and extending Statamic with PHP, but I think the most amazing thing is we haven't even written a single line of PHP in this entire article! And that is something to brag about.

So I think the main question people might have is, should I use it, or what should this replace in my current repertoire? It's important to gauge what Statamic is for. If you are building a new Startup and need the full flexibility of a full fledged framework, I am sure you would be able to get it running in Statamic, but it would be alot of custom code, which may defeat the purpose. Where I think this will thrive is as a blogging platform or CMS.

Coming from a background in WordPress, this feels like a direct predecessor, in that it follows a-lot of the same conventions in theory, but they are all implemented in a much smarter way, in that comparing the amount of code required in each becomes a joke. Moving forward, Statamic has an incredible API for building custom tags, hooks, new fieldtypes and more, and you can imagine Statamic makes it as lean and simple to do as you might have come to expect.

I hope you enjoyed this article, if you have any questions feel free to ask me below, on twitter @gabrielmanricks or on the Nettuts+ IRC channel on freenode (#nettuts).

Year in Review

All in all, I give this year a C-. There were no aurora visible from my house and that comet evaporated. They'd better not cancel the 2017 eclipse.

Los Sony Xperia Z Ultra y LG G Pad 8.3 edición Google Play ya son oficiales (y llegan en compañía del Nexus 7 blanco)

Filed under: ,

Antes hablamos, antes es oficial. Minutos después de que te contáramos que LG trabajaba a todas luces en un G Pad 8.3 "nexusizado", el fabricante surcoreano ha hecho oficial este nuevo dispositivo Google Play Edition, que se suma a los Samsung Galaxy S 4 y HTC One. Viene además acompañado. Por si no fuera lo bastante interesante, Google y Sony han tenido a bien anunciar la versión Play Edition del Xperia Z Ultra, que pasa a convertirse en uno de los androides mondos y lirondos más atractivos de entre todos los ofrecidos en colaboración con Google.

A nivel de hardware ni el tablet de LG ni el tabletófono de Sony presentan cambio alguno, de forma que seguimos encontrándonos con pantallas de 8,3 y 6,4 pulgadas, procesadores Snapdragon 600 y 800, y 16 GB de almacenamiento. Lo realmente importante es que ambos dispositivos contarán con Android 4.4 de serie, adelantándose incluso a las actualizaciones oficiales previstas por los propios fabricantes; todo un punto a su favor de cara a los usuarios que prefieren tener el soporte oficial de Google antes que los últimos widgets.

Continue reading Los Sony Xperia Z Ultra y LG G Pad 8.3 edición Google Play ya son oficiales (y llegan en compañía del Nexus 7 blanco)

Permalink | Email this | Comments

Google te ayudará a construir exposiciones virtuales con Open Gallery

Filed under:

Google invoca tu lado más artístico y te ayudará a construir exposiciones virtuales con Open Gallery
A estas alturas de la película es más que probable que estés enterado de que Google tiene un interés especial en el arte, por ello no es de extrañar que la casa quiera llevar sus inquietudes culturales a todos sus usuarios con ayuda de unos cuantos clics. La firma de Mountain View ha lanzado ahora Open Gallery, que básicamente viene a ser una sala de exposiciones virtual que permite a todo el que esté interesado compartir sus creaciones. La iniciativa forma parte del Google Cultural Institute que, se encargará de poner un poco de orden y gestionar las invitaciones oportunas. Las inquietudes didácticas de Google no terminan ahí, ya que en su oficina parisina ha abierto hoy también un rinconcito para dar cabida a sus proyectos de digitalización y probar nuevas tecnologías relacionadas. Tienes una pequeña muestra de cómo funciona la nueva galería tras el salto.

Continue reading Google te ayudará a construir exposiciones virtuales con Open Gallery

Permalink | Email this | Comments

Twitter ahora permite enviar imágenes a través de mensajes directos

twitter mensajes directos

Twitter en su afán de rediseñarse por completo, ha actualizado su sistema de mensajería privada, no solo con un nuevo aspecto, sino también permitiendo enviar fotografías o imágenes. También han incorporado un nuevo sistema para desplazarse entre timelines.

No hay dudas de que poco a poco la aplicación móvil oficial de Twitter ha ido mejorando, tanto en diseño como en funcionalidad, acercándose cada vez más a la calidad superior que desde siempre han ofrecido las aplicaciones creadas por terceros (aunque aún dista de alcanzar a Tweetbot, la favorita de todo usuario de iOS). Hoy, además de rediseñar su sistema de mensajes directos (o mensajería privada entre usuarios de la red social), han incorporado una nueva función, sin duda más que curiosa y bastante útil.

Enviar imágenes a través de DM permite compartir más cosas sin necesidad de salir de la red socialTwitter ahora permite enviar imágenes a través de mensajes directo, tanto en su versión para iOS como para Android. Esto, sin lugar a dudas, supone una novedad muy interesante dado que permitirá no solo enviar mensajes de texto de forma privada, sino también imágenes que sencillamente no queremos que otros vean, ni tener que salir de nuestra red social favorita para enviarla a través de un correo electrónico u otro medio.

Además, la interfaz con la que muestran las imágenes a través de los mensajes directos está muy cuidada y sigue la línea general que ha tomado la aplicación oficial de la red social de los 140 caracteres, y que sin duda luce muy bien. Por supuesto, el envío de imágenes a través de DMs también está disponible en la versión web de Twitter y en Tweetdeck.

twitter dm

Pero esta no es la única novedad que han añadido los responsables de Twitter en su más reciente actualización. También, la actualización incorpora un nuevo sistema de desplazamiento entre timelines, que permite con solo un gesto con el dedo, movernos entre el timeline, la columna de actividad, la de explorar y la de mensajes directos, de una forma mucho más sencilla para el usuario de smartphones.

Como mencioné al inicio de estas líneas, durante mucho tiempo la aplicación oficial de Twitter ha sido muy criticada por ser, en general, inferior a las de terceros. Pero esto está cambiando y se nota que le han puesto mucho más cuidado a un aspecto tan importante como el de su interfaz y usabilidad móvil.

Ahora solo falta que vuelva el envío de enlaces a través de mensajes directos.

Puedes descargar la aplicación oficial de Twitter desde App Store para iOS, o desde Google Play Store para Android, en ambos casos de forma gratuita.