Sinatra Ruby

Posted by & filed under Frameworks.

It is very small framework but I think it has all needed things for building website. Also it is very light, you can see it on main page of Sinatra Framework that has example. It has good documentation full of examples. Also I found out that Heroku  helps Sinatra. You can try it be tutorials that I found: net.tutsplus.com, titusd.co.uk. Sinatra has two books “Sinatra: Up and Running” on Amazon (you will find tutorial when you would read last chapter so I build it and you can watch source code github.com) and another book on Sinatra website.

Sinatra really cool web framework that has good support.

CI CMS Ionize and Halogy

Posted by & filed under CMS.

Long time ago I used CI framework for a site. Now I have to write site on my work so I decided to use CI as a framework. But I didn’t start writing only watching documentation, I decided to watch inside cms that were writing on this framework (I found about ten), so I choose Ionize and Halogy.

First I choose Ionize because it has good interface and installation was very easy but when I started looking inside the code I saw a big mass. Admin part interface realize with using Mootools as a js framework and MochaUI as a user-interface. So all admin part made by ajax request so I didn’t like it because ajax request don’t do one big js engine. It happens this way you press link -> js calls ajax request -> it receive big part html with js and change some html that exists with received data. So I stop go forward. Thanks Ionize with it help I watch many information about Mootools and really like plugins.

So after disappointed about Ionize cms I start looking into the code of Halogy cms. It has HMVC patter that I never met (like MVC but groups in folders as modules). So from the beggining it was easy and clear to understand. Code clear and has many comments so I like it. If you want learn CI framework you should look inside this cms.

P.S. I think CI is best framework for small websites or for programmers that like writing websites on clear php. For big project I think CI doesn’t suitable. CI also gives freedom in writing code, its very easy for beginner, have good documentation, but it has very small functionality versus frameworks like Yii CakePHP…

Small Perl Web Frameworks review

Posted by & filed under Tutorial.

After reading Pearl book I decided to read about Perl Web Frameworks. From this website I visited all perl frameworks websites and choose three of them (Catalyst, Dancer and Mojolicious). Catalyst because it is the most popular and two other because they have good websites.

Catalyst, I started learning by reading a book “Catalyst 5.8 the perl MVC framework”. This book contains several tutorials with description. It was very hard because I was using Catalyst 5.9 and it has many difference from 5.8 so it is strange. When I copied code from book and pasted it, I had error and have to figure out what was reason of the error. So it was terrible book with tutorial that I ever have read and It is not good that framework advertises this book. My impressions about the framework are it is very powerful, very hard to work with, not modern and hard to find examples how to. I don’t like this framework, but if I would have to write on this fw I don’t mind. Also my source on github.com

Then I visited a Dancer framework website their I took a look on the documentation and watched tutorial. It is very simple, not powerful but for small websites or for REST it would be useful. If you have free time just take look at the bottom of the page and you’ll understand what I mean.

After Dancer lets move to Mojolicious. It has two versions Light and Normal. Light it for small websites and Normal for something bigger. I don’t found tutorial and there are many examples how to work with Light version and a few with Normal version. I like syntax but I thing it would be hard make website because there not many examles and I think it would be hard to find something in google that I’ll need.

P.S. If I would have to write something on Perl I’ll choose Mojolicious.

Pearl books

Posted by & filed under Books.

I had some free time so I decided to learn some new programming language so I chose Perl. I heard a lot about this language so I started reading books about this language. So I read two books, first was “Beginning Perl 3rd edition” and second was “Learning Perl 6th edition”.

I’ll start with the first book “Beginning Perl 3rd edition”. This book I like not so much like Ruby book that also from Apress but this book has many examples and I think even if you don’t know any programming language, you’ll understand a lot but not all. So what I didn’t like it’s that about subs and class there was not many examples as I expected.

Second book was “Learning Perl 6th edition” I can say that it was very similar to previous book. But I didn’t like this book there was not many  examples and they was build I think bad. For beginner this book would be hard and not understandable.

 

P.S. I want to say something about Perl language. It quite different from other languages it has some features that other languages don’t have like variable $_ and different initialization of variable. Syntax I don’t like because I know Ruby, Python so they have better one. And may be I don’t right, but Pearl not popular like other languages. Also in Perl, work with subs and class is different from other languages.

Something about WordPress

Posted by & filed under CMS.

I wrote on many frameworks so I wanted to write something on cms. I took WorPress because its the most popular blog cms I know and started learning it. At First I dislike but than I really like it. In few words its sounds like “You have instruments like posts, taxonomies, users, comments, settings and something else, and You can manipulate it like you want in Frontend”. Also WordPress have many free plugins but they wrote not so good or with banners, so you need make some correction. We I like wp its because its very popular so You can find a lot of information in google also You can found plugin that you want or similar for you requirements so you don’t have to write plugin from the begging. Also I spent three days looking inside wp code and I can say that this project not object orientation there are a few classes and a lots of functions. At the end of my traveling to the code I understood that It’s cool because people who don’t know programming, like work with function then with classes. So that is why WordPress have so many themes and plugins.

P.S. When I am writing my blog I manipulated wp instruments like I want. I had no limits so its cool and I didn’t need to write some code in wp.

Also You can download github.com my portfolio plugin that I built from another two wp plugins.

Ultra simple mail aggregator

Posted by & filed under My projects.

Дали курсач и препод предложил написать сервис который будет парсить не прочитаные письма с разных почтовых ящиков. Были выбраны ящики (gmail, mail.com, aol.com). Парсинг происходил по pop3 протоколу.

Писался проект на Ruby on Rails.

Исходники https://github.com/ButuzGOL/Ulsimag

Сайт http://ulsimag.heroku.com/

Continue reading →

Objective-C (Cocoa) books

Posted by & filed under Books.

Так прошел 3 книги и сделаю очень маленькую рецензию ))

Learn Objective-C

Эту книгу надо прочитать полюбомы так как в ней заложены основы да и что радует очень хорошо написана.

Оцениваю в 5

Beginning iPhone 3 Development: Exploring the iPhone SDK

В этой книги очень много примеров которые очень хорошо расписаны да и нечего другого.

Оцениваю в 5

iPhone and iPad Apps for Absolute Beginners

Эта книга мне не понравилась думаю не стоит тратить на нее время.

Оцениваю в 3

Inside LiveStreet

Posted by & filed under CMS.

Вот посмотрел cms LiveStreet мне понравилась единственное довольно сложно было понять изначально как все происходит но потом когда понял стало все очень просто как всегда.

Что понравилась:

  • Файл Engine
  • Работа с кеш
  • Организация модулей, экшенов, связь с базой данных
  • ….

Что не понравилось:

  • Вроде как подключенные дополнительные ресурсы не последний (замет по смарти версия 2.6.9) про другое не проверял
  • Довольно сложная структура упростить бы
  • Не используется jQuery

Исходники переделки: github.com

Continue reading →

Agile Web Application Development with Yii1.1 and PHP5

Posted by & filed under Books.

Вот решил просмотреть книгу Agile Web Application Development with Yii1.1 and PHP5 и напишу всего пару слов.

Интересный факт как только вышла я не где не смог найти в интернете через пару дней первая же ссылка в google при запросе download …. вела на скачку с двух файло обменников.

Пару слов так посмотреть книгу не вникая скажу что человеку который писал проект эта книга не чего нового не покажет. А новичку вполне подойдет но не уверен. Мне понравилось как показано тестирование очень много примеров.

Yii ext tinymce+elfinder

Posted by & filed under My projects.

Надо было как-то прикрутить Javascript WYSIWYG Editor совместно с Файловым менеджером. В качестве редактора взял Tinymce а именно вот это расширение обновил там редактор до последней версии 3.3.8 если не ошибаюсь и соответственно прикрутил файловый менеджер. Кстати еще включил PHP Spellchecker (рус, анг).

Исходники: github.com

Ext on Yii web site: http://www.yiiframework.com/extension/tinymceelfinder

 

Continue reading →