aboutsummaryrefslogtreecommitdiff
path: root/content/weblog/2018-10-10_w3blog-v05-release
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-03-17 22:39:16 +0300
committerYaroslav <contact@yaroslavps.com>2020-03-17 22:39:16 +0300
commitae3927e0f12101bb8a788b4564657e1632f7e29d (patch)
tree150bcdd8a98dcad851a07ed07ce7fff2f1cdc39a /content/weblog/2018-10-10_w3blog-v05-release
parentbad0f74397db8dc41b4ed7845b86184e15752253 (diff)
downloadyaroslavps.com-ae3927e0f12101bb8a788b4564657e1632f7e29d.tar.gz
yaroslavps.com-ae3927e0f12101bb8a788b4564657e1632f7e29d.zip
migrated Oct 2018 posts
Diffstat (limited to 'content/weblog/2018-10-10_w3blog-v05-release')
-rw-r--r--content/weblog/2018-10-10_w3blog-v05-release/index.es.md66
-rw-r--r--content/weblog/2018-10-10_w3blog-v05-release/index.md64
-rw-r--r--content/weblog/2018-10-10_w3blog-v05-release/index.ru.md73
-rw-r--r--content/weblog/2018-10-10_w3blog-v05-release/v04.pngbin0 -> 188207 bytes
-rw-r--r--content/weblog/2018-10-10_w3blog-v05-release/v05.pngbin0 -> 143484 bytes
5 files changed, 203 insertions, 0 deletions
diff --git a/content/weblog/2018-10-10_w3blog-v05-release/index.es.md b/content/weblog/2018-10-10_w3blog-v05-release/index.es.md
new file mode 100644
index 0000000..ce7f9be
--- /dev/null
+++ b/content/weblog/2018-10-10_w3blog-v05-release/index.es.md
@@ -0,0 +1,66 @@
++++
+title = "Nueva versión de w3blog, v0.5"
+date = 2018-10-10T12:04:00Z
++++
+
+Después de unos meses sin mucho tiempo libre, la semana pasada al fin me pude
+sentar a trabajar en la siguiente actualización para mi motor de blog, la cual
+ha estado en mi lista de cosas por hacer un buen tiempo. Esta nueva
+actualización incluye mejores y nuevas capacidades para w3blog.
+
+<!-- more -->
+
+Primero que nada, en el lado del "front end" (la parte del cliente) me deshice
+de Bootstrap y JQuery, y rehice la hoja de estilos por defecto de w3blog. Ahora
+el estilo por defecto de w3blog es agradable y bonito, y lo más importante, es
+más ligero (por el hecho de que no hace uso de Bootstrap + Jquery). La hoja de
+estilos CSS sin minimizar pesa solamente 5.6K (a contrario de los 138K de
+Bootstrap sin minimizar), y por supuesto, el sitio también pesa menos a
+consecuencia de haberse deshecho de JQuery (Realmente sólo hacía falta para
+Bootstrap).
+
+Cómo lucía v0.4
+
+![v0.4](v04.png)
+
+Como luce v0.5
+
+![v0.5](v05.png)
+
+Hablando de mejoras, los comentarios ahora incluyen la fecha de su publicación. No estoy seguro de como es que es había dejado pasar por alto por tanto tiempo su ausencia.
+
+Las nuevas características son:
+
+* Carga dinámica de entradas en la página principal, páginas de categorías y de
+ archivo. Si activas esta opción, en lugar de obtener los tradicionales botones
+ de paginación al fondo de la página, aparece un botón para cargar
+ dinámicamente las siguientes entradas, de tal forma no se carga toda una nueva
+ página desde cero. Se activa agregando `'dynamic_load': True` a
+ `WEBLOG_SETTINGS`.
+* Scroll infinito para la carga dinámica. Al activar esta opción, y la de carga
+ dinámica, después de llegar al fondo de la página (principal, categorías,
+ archivo), la siguiente partida de entradas es cargada automáticamente con
+ AJAX. Para activarlo enciende la opción de carga dinámica (mira el primer
+ punto) y agrega `'infinite_load': True` a `WEBLOG_SETTINGS`.
+* Barra lateral flotante. Esta función hace que la barra lateral flote junto al
+ contenido después de desplazar la página pasado la barra de navegación. Activa
+ esta función agregando `'floating_sidebar': True` a `WEBLOG_SETTINGS`.
+
+Estos son básicamente todos los cambios en esta versión. Si ya estás usando
+w3blog, y usas tus propios CSS, tendrás que readaptarlos, ya que las plantillas
+han cambiado un poco, principalmente las clases de HTML/CSS.
+
+Tenía planes para más novedades en esta versión, pero he decidido posponerlos
+por ahora. Uno de ellos era una forma de poder agregar elementos adicionales a
+la barra lateral sin tener que modificar las plantillas de w3blog.
+Desafortunadamente no encontré una forma racional de hacerlo.
+
+Si tienes algún problema usando w3blog, o inclusive sugerencias, la primera
+opción sería abrir un "issue" en la página de Github, o si no tienes cuenta de
+GitHub (y no deseas crear una nueva cuenta), puedes escribirme un correo
+electrónico a [contact@yaroslavps.com](mailto:contact@yaroslavps.com). Sin
+embargo, si usas uno de los grandes proveedores de email (por ejemplo, outlook o
+gmail), mi respuesta podría ser bloqueada por tu proveedor.
+
+[Página de GitHub de w3blog](https://github.com/Yaroslav-95/w3blog).
+
diff --git a/content/weblog/2018-10-10_w3blog-v05-release/index.md b/content/weblog/2018-10-10_w3blog-v05-release/index.md
new file mode 100644
index 0000000..490bd4d
--- /dev/null
+++ b/content/weblog/2018-10-10_w3blog-v05-release/index.md
@@ -0,0 +1,64 @@
++++
+title = "New w3blog release, version 0.5"
+date = 2018-10-10T12:04:00Z
++++
+
+After some months without much free time, I finally could sit down a week ago
+and start working on an update to my blog engine that had been sitting on my
+to-do list for quite some time. This update brings improvements and new
+features to w3blog.
+
+<!-- more -->
+
+First of all, bloat was removed on the front end (client) side of things. I
+got rid of Bootstrap, and JQuery, and rewrote the default CSS sheet. The
+default look of the engine is actually pleasant to look at, the css sheet
+weighs only 5.6K unminified (vs 138K of minified bootstrap's css), and of
+course weight has also been slimmed down by removing JQuery (it was only
+really needed by bootstrap).
+
+v0.4 default look
+
+![v0.4](v04.png)
+
+v0.5 default look
+
+![v0.5](v05.png)
+
+Speaking about improvements, comments now have a date of publishing. Really not
+sure how I overlooked such a thing for so long.
+
+The new features are:
+
+* Dynamic loading of posts on the main page, and category and archive pages. If
+ you turn on this feature, instead of getting the traditional pagination
+ buttons at the end of the page, you get a button to load the next batch of
+ posts through AJAX, so that it doesn't load a whole new page. You turn this
+ by adding `'dynamic_load': True` to `WEBLOG_SETTINGS`.
+* Infinite scroll for dynamic loading. When this and dynamic loading are
+ active, after scrolling to the bottom of the page (index, category page,
+ archive page), the next batch of posts are loaded automatically through AJAX.
+ Turn on dynamic loading (see above) and add `'infinite_load': True` to
+ `WEBLOG_SETTINGS`.
+* Floating sidebar. To turn this feature on, you add `'floating_sidebar': True`
+ to `WEBLOG_SETTINGS`. What this does, is make the sidebar float next to the
+ content container after scrolling past the navbar and breadcrumb bar.
+* These are basically all of the changes in this new release. If you happen to
+ already be using w3blog and are using a custom css sheet, you will need to
+ redo your css since the templates changed a bit since version 0.4, mainly the
+ html/css classes used. You will also need to make migrations and migrate them
+ to the database.
+
+I had plans for other features for this release, but I decided to postpone them
+for now. One of them was a way to add custom elements/html to the sidebar
+without having to modify w3blog templates. Unfortunately I didn't find a sane
+way of doing this.
+
+If you have any issues with w3blog, or maybe even suggestions, the first option
+would be to open an issue on its Github page, if you don't have a Github
+account (and don't want to create one), you can write me an email at
+[contact@yaroslavps.com](mailto:contact@yaroslavps.com). However, if you are
+using one of the big email providers (e.g. outlook or gmail), my response could
+be blocked by your provider.
+
+[w3blog's GitHub page](https://github.com/Yaroslav-95/w3blog).
diff --git a/content/weblog/2018-10-10_w3blog-v05-release/index.ru.md b/content/weblog/2018-10-10_w3blog-v05-release/index.ru.md
new file mode 100644
index 0000000..870ba96
--- /dev/null
+++ b/content/weblog/2018-10-10_w3blog-v05-release/index.ru.md
@@ -0,0 +1,73 @@
++++
+title = "Новый выпуск w3blog - версия 0.5"
+date = 2018-10-10T12:04:00Z
++++
+
+После несколько месяцев без особого свободного времени, оно наконец появилось и
+мне удалось сесть за работу над моим движком для блогов. Это обновление приносит
+некоторые улучшении и новые фишки для w3blog.
+
+<!-- more -->
+
+Первым делом, я избавился от лишнего в клиентской части. Избавился от Bootstrap
+и JQuery, и полностью переписал дефолтный CSS. А теперь приятно смотреть на
+дефолтный стиль страницы, таблицв стилей без сжатия весит всего 5.6К (По
+сравнению с 138К для сжатого CSS Bootstrap), и конечно сайт так же стал более
+легким за счет избавления JQuery (который в принципе нужен был бутстрапу).
+
+v0.4 - дефолтный вид
+
+![v0.4](v04.png)
+
+дефолтный вид в v0.5
+
+![v0.5](v05.png)
+
+И говоря про улучшения, комментарии наконец содержат дату публикации. Кажется я
+забыл добавить столь полезную функцию.
+
+Новые фишки:
+
+* Динамическая прогрузка постов на главной и страницах категорий и архива - Если
+ вы включите эту фичу, вместо обычных кнопок пагинации, появится в конце
+ страницы кнопка для прогрузки следующих постов через AJAX. Таким образом не
+ подгружается целая страница заново. Включите добавляя `'dynamic_load': True` в
+ `WEBLOG_SETTINGS`.
+* Бесконечное пролистывание страницы для динамической прогрузки - Когда эта
+ опция и динамическая прогрузка включены, после пролистывания до конца
+ страницы, следующие посты автоматически прогружаются через AJAX. Включите
+ динамическую прогрузку (см. выше) и добавьте `'infinite_load': True` в
+ `WEBLOG_SETTINGS`.
+* Плавающая боковая панель - Действия этой функции, сделать так чтобы боковая
+ панель плавала рядом с контентом после пролистывания страницы ниже
+ навигационной строки. Для активации добавьте `'floating_sidebar': True` в
+ `WEBLOG_SETTINGS`.
+
+Это собственно все изменения внесены в этом новом релизе. Если вы уже
+пользуйтесь w3blog'ом, и вы используете свои собственны таблицы стилей, вам
+придется их переделать, поскольку шаблоны немного изменились с поседней (0.4)
+версей. В основном изменились классы HTML/CSS.
+
+Были планы и для другие фичи для этого релиза, но я решил их оставить на
+следующие релизы.Один из них является способ добавления элементов/HTML в боковую
+панель, без необходимости переписывание шаблонов w3blog'а. К сожалению я пока не
+нашел нормальный способ разработать такую функцию.
+
+Если у вас возникли проблемы при испоьзованию w3blog, или у вас есть советы либо
+комментарии, первый и наилучший вариант это открыть "issue" на странице
+Github'а. Если вдруг у вас нет аккаунта Github (и вы не желаете создать аккаунт,
+увы) напишите мне на адрес электронной почты
+[contact@yaroslavps.com](mailto:contact@yaroslavps.com). Однако, если вы
+пользуетесь одним из больших провайдеров электронной почты (например mail.ru,
+gmail) то возможно ваш провайдер заблокирует мое письмо с ответом, либо отправит
+в спам.
+
+If you have any issues with w3blog, or maybe even suggestions, the first option
+would be to open an issue on its Github page, if you don't have a Github
+account (and don't want to create one), you can write me an email at
+[contact@yaroslavps.com](mailto:contact@yaroslavps.com). However, if you are
+using one of the big email providers (e.g. outlook or gmail), my response could
+be blocked by your provider.
+
+[Страница GitHub](https://github.com/Yaroslav-95/w3blog).
+
diff --git a/content/weblog/2018-10-10_w3blog-v05-release/v04.png b/content/weblog/2018-10-10_w3blog-v05-release/v04.png
new file mode 100644
index 0000000..7885d06
--- /dev/null
+++ b/content/weblog/2018-10-10_w3blog-v05-release/v04.png
Binary files differ
diff --git a/content/weblog/2018-10-10_w3blog-v05-release/v05.png b/content/weblog/2018-10-10_w3blog-v05-release/v05.png
new file mode 100644
index 0000000..074667a
--- /dev/null
+++ b/content/weblog/2018-10-10_w3blog-v05-release/v05.png
Binary files differ