Monday, January 6, 2014

Monday, November 5, 2012

KDevelop upload plugin (like Quanta had it)

Quanta 3 back then had this "Upload Profiles" feature that allows you to develop locally and upload to a given remote url using ftp/fish. When I started contributing to KDevelop the first code I wrote was a plugin that basically does exactly that.
More than 4 and a half years ago... time flies...

But I never got around releasing it as it was inside quanta - you know the story.

Now that quanta is declared dead it makes sense to release this as standaline plugin - though not much changed in the last 4 years.

Disclaimer: if you want to do serious web development, do not use this. Do yourself a favor and deploy using a version control system. If you have a simple website without any cms - well it might make sense to manually upload changed files.

If you still insist on working like in the last century, you can get kdev-upload here:

And now time for some screenshots showing the plugin:
Configure upload profiles in the project configuration

Upload a single file use quick upload from the context menu (or configure a shortcut like Quanta3 had)

Upload a whole directory also use the context menu

Browse the contents of an upload profile use the tool view on the right

Saturday, November 3, 2012

Quanta update

Back in the good old KDE 3 times there was a quite nice application for doing web development: Quanta+.

The plan was to base Quanta 4 on the same library KDevelop 4 uses - however development for Quanta itself stalled. See also my blog post from exactly 3 years ago - the situation didn't change much since then.

An update for contributors to Quanta/KDevelop plugins:
Last week in Vienna I moved out all plugins from Quanta into their own independent repository; we now have:
each as independent repository allowing to build or work on a single one.

So there is actually a lot happening for Quanta 4 - without even mentioning the kdev-python or kdev-ruby plugins - languages we never had support for in Quanta 3 times.

What's left in quanta? Well - basically an empty skeleton. Quanta is dead. Long live KDevelop.

Sunday, October 28, 2012

Execute Sql KDevelop Plugin

Lot of stuff happened at the Kate/KDevelop sprint in Vienna. (Thanks again to Joseph and KDE e.V. for sponsoring the sprint)

One small - but still useful - thing is the first public beta release of the kdev-sql plugin. It allows you to execute SQL queries from within KDevelop. Simply press Ctrl+E (or Run->Execute SQL) to execute the contents of the current file as SQL query.

The only use case this is trying to solve is debugging and performance testing of queries.

Database connections can be configured per project - all QtSql divers are supported.

Get the script here: kdev-sql-1.3.80.tar.bz2
(compatible with KDevelop 4.4)

In future other features like schema browsing and autocompletion could be implemented...

KDevelop XDebug - PHP Debugger Beta Release

It has been a pretty long time since the first beta release of XDebug. I picked up the plugin again and adapted it to work for the current version of KDevelop.
To get it working you need:
  • Php + xdebug extension
  • xdebug configured to accept remote connections
    • xdebug.remote_enable = 1
    • xdebug.remote_host = localhost (yourhost if on remote server)
  • KDevplatform 1.4, KDevelop 4.4
  • The following KDevelop Plugins: 
    • kdev-executebrowser
    • kdev-xdebug

Configuring and using the debugger didn't change, use steps described in my last blog post

And for the future: yesterday we merged the unittests branches Miha Čančula wrote - and guess what: you can debug PHPUnit tests using xdebug.

Thursday, October 25, 2012

KDevelop Project and Filesystem view improvements

Since I'm from Austria I had to attend the KDevelop/Kate sprint which is held in Vienna this year. Thanks to Joseph for organizing the sprint. We are having a great time here - hacking all day long...

After two days I have been productive and implemented a few small but still possibly useful features.

Since quite some time the project view supports moving items using drag and drop.  However copy was not supported. I added there a drop menu allowing you to copy - and as a side effect also allow you to cancel an accidental move operation.

The second new feature is similar: it gives you the possibility to copy/paste items in the project view through the clipboard. Even pasting files that where copied eg. in dolphin is supported.

The third one is bookmark support for the filesystem view - just a kate has it. The bookmarks are stored per session. This can be useful for web developers to store the fish:// locations of test/production servers for quick access.

And last but not least, it is now possible to add two filesystem views - which might be useful to connect to test/production server.

All features can be found in master branch and will not be in the recently released KDevelop 4.4. But 4.5 will follow early next year...

Thursday, November 10, 2011

Koala Framework: Open Source Web Application and CMS Framework

This post is not KDE related, but about Open Source - not entirely off topic on PlanetKDE.

The company I work for recently decided that we release our Framework and CMS as Open Source Software. This is very exciting for all of us and especially me - as I brought that topic on the table again and again. And finally we did it :D

It's a framework to create anything that runs in a browser: from a website or blog to a desktop like web application. It's built on solid grounds: Zend Framework (Php framework) and ExtJS (JavaScript framework).

Screenshot showing an simple example web application [more screenshots]

Screenshot showing the CMS with a text component being edited [more screenshots]
The current state is that the framework is used in our company for lots of different projects, but due to we just got opensource we have no community yet. We are also lacking of good documentation - but we are willing to fix that - if we succeed in building an community around it.

So if you are interested in such a framework visit the Koala Framework website to get more information and join the mailing list.