Tag Archives: Python

How was PlatformIO born or why I love Python World

PlatformIO Example

PlatformIO is a cross-platform code builder and the missing library manager”

Working on an embedded firmware for SmartAnthill Project I’ve been dealing with building code for different embedded platforms. Nowadays, each platform proposes standalone toolchain, driver-lib and even own IDE:

With each new embedded platform I had to adapt to its own IDE, code highlighter,  code autocompletion, debugger and many more. Then I’ve decided to write code in my favourite editor (Vim) and build it only with these IDEs. But a structure of  my project looked ugly because each IDE had created own project’s META files and folders. Therefore, I had different project locations for each IDE and “symlinked” source code folder to one location. But this wasn’t for long…

Continue reading

Eclipse Helios + PDT + Smarty = indispensable tool for WEB-developers

Eclipse Helios 3.6

Eclipse Helios is a next regular update to all known and loved IDE for us, which contains a huge number of innovations and improvements. Earlier I have already written about how to integrate previous version of Eclipse Galileo with PDT + Smarty. I’m pleased that the materials of the publication were useful for lots of people because I received numerous “Thanks” in anonymous form. In fact, there is no problem with integration in new Eclipse Helios because it contains the new PDT 2.2.x and the DLTK 2.x plug-ins that are necessary for the functioning SmartyPDT.

Therefore, I recommend every one to upgrade on Eclipse Helios, and if you want to integrate the PDT + Smarty, then read below… 🙂

Continue reading

Eclipse Galileo + PDT + Smarty + Python = незамінний інструментарій WEB-програміста

Eclipse Galileo

Eclipse Galileo

Eclipse – це модульне інтегроване середовище розробки програмного забезпечення (IDE). Воно є найпопулярнішим серед Java, C++, PHP, JavaScript, Python розробників. Сьогодні ми поговоримо про IDE для WEB- програміста, а якщо конкртеніше, то про взаємодію: Eclipse + PDT + Smarty + Python. Я у свій час “пройшов” через багато редакторів: починаючи від простеньких, що лиш підсвічують синтаксис, і закінчуючи  такими “монстрами” як: Eclipse, Zend Studio та NetBeans. З останнім я кілька днів попрацював і чомусь розчарувався, уже точно не пам’ятаю чому. А з Zend Studio “дружив” багато часу, починючи з тих часів, як він тільки почав розроблятися (це версії 2.x і тд.). Але з того часу як з’явився “плагін” для роботи із PHP у Eclipse (Eclipse 3.2 & PDT 0.7) – я назавжди попрощався з Zend Studio. Просто уже тоді було зрозуміло, що платити немає за що, так як Zend Studio якраз і базується на платформі Eclipse. І що саме важливе, що зазвичай для Zend Studio викорстовує старі релізи. А якщо порівнювати функціонал і кількість необхідних плагінів – то Zend Studio “курить в стороні” 🙂

Але менше з тим, мабуть, із заголовка Вас більше цікавило PDT + Smarty + Python? Так, так – це можливо! Але для цього прийдеться використовувати останні тестові збірки PDT та DLTK. Це все пов’язано із тим, що незабаром (23 червня 2010 року) має вийти новий реліз Eclipse Helios 3.6. Тому всі розробники уже проектують свої плагіни для сумісності із новими можливостями Helios. DLTK зараз працює над гілкою 2.x, PDT – над 2.2.x, а Smarty для PDT – взагалі майже ніхто не підтримує. Останні зміни були 25 листопада 2009 року, і саме на них чекали більшість шанувальників  Eclipse+PDT, так як тепер SmartyPDT буде працювати із останніми тестовими збірками PDT 2.2.x. Тому, менше слів – за роботу! 🙂
Continue reading