Skip to content
jan 9 12

Attach: CakePHP 2 Upload Plugin / Behavior

by Vinícius Krolow

Hi

I’m here to promote a new plugin to upload in CakePHP, the Attach plugin, that is based on MeioUpload, but it’s a bit different, he makes use of new Model API of CakePHP 2, where we have support to define own validations and use the Behavior as the method of validate, and also some new things.

A big difference is the use of Imagine Lib, to make the thumbnails, that gives a lot of features to manipulate images.

The plugin also implements polymorphic models, so we have one model/table that handles/store all the files, and your custom models have association with this Attachment model.

It’s really simple to use I hope you guys enjoy the plugin any improvement or feedback are welcome, and you are able to fork it.

Currently the plugin is in his first version, and improvements will be done in the API of the plugin also in the code.

Git: https://github.com/krolow/Attach

* In the github we have the description of how it works.

dez 21 11

Conrad Caine is looking for a Trainee Backend Developer

by Vinícius Krolow

Your task

  • Support in the maintenance of existing projects
  • Study the development practices of our Backend Team
  • Get working knowledge in different Content Management Systems and PHP Frameworks
  • Support Lead Developer in getting things done
  • Support small projects in cooperation with project managers
  • Learn how to be a pragmatic developer
  • Learn and code a lot of cool stuff (Node.js, MongoDB, CouchDB, Ruby, C++, Arduino)
Required soft skill and experience
  • First experience with Code Editors
  • Experience with Versioning Systems (CVS, SVN, GIT)
  • Demonstration of self-reliance and responsibility in your work, taking a goal-oriented approach to projects
  • Attention to detail and high-quality standards
  • Pro-active behavior
  • Good communication skills
  • Responsibility
  • Ability to be self-taught
  • Fast-learning
  • Ability to work under pressure
  • Ability to accept and learn from criticism
  • Willingness to work alternate shifts
  • Will for experimentation and innovation
  • Ability to identify, prevent and resolve imminent problems
  • Willingness to understand technologies beyond your working knowledge
  • Ability to work in a team with a positive attitude
  • Excitement about current tasks and motivation to take on future challenges
  • First English skills

CONRAD CAINE is looking for smart programmers who are willing to join our pragmatic Backend team. If you are looking for a great company to grow professionally and personally, our team is your place. Here you will find a very open and friendly working environment and many challenges to overcome. Became a part of our great team now.

Please send an online application in Portuguese or English to jobs.pelotas@conrad-caine.com

More open jobs available at Conrad Caine website.

nov 27 11

A particle system with javascript + canvas + node.js + express.js + socket.io and Arduino

by Vinícius Krolow

I’ve just finished a small project that I did today, it’s one integration between node.js and Arduino, using the Arduino as input for start a particle system at the browser, this particle system was done by javascript and canvas.

You can check a demo of this project at you youtube:

To do this project was used:

You can check the code here at github: http://github.com/krolow/ArduinoParticles
nov 21 11

Ball.js – Node.js + Javascript + Canvas + Websocket

by Vinícius Krolow

A some time ago, I started develop some personal projects with node.js to see how it works, after that I get involved in two projects with this technology at company. In the meanwhile I haven’t stopped code with javascript, nowadays javascript is one of the languages that I most like to work.

Thinking about that and to use as study case, me and Lucas Texeira stared a personal project to put in practice our javascript skills, and we produce what we called ball.js, this happened on August of this year. I have forgot to announce this project here, and so today I`m doing that.

Ball.js consists of one application written in pure javascript, in the server-side with node.js and in the client size using node.js, the idea behind this project, is allow two different clients play with a canvas circle between his browsers.

The code of project is not good enough as we want to be, but as the project was more an experiment for both of us, I think it’s good to share the knowledge that we get developing this.

As a demo I have create this video:

And the code is available at github, and there we have the description of how put to run in your machine.

out 12 11

Getting OpenFrameworks running in Mac OS Lion with Xcode 4.1

by Vinícius Krolow

Today I was starting learning openFrameworks (a c++ plus library to make interactive projects), and so I started downloaded the last version of oF, that is here for download.

After download I have extract the compacted file and put this into my workspace.

So after that I have choose one of the examples programs that comes up with the oF library, to start test. I have decided to use the advanced3dExample, inside this folder we have the Xcode file, so we just click on it the Xcode should open with the project.

After  pick up the program, and open the Xcode, I just tried build an run the code, but I have received a fail message.

Looking for in the web I have found that oF, have some problems with the MacOS 10.7 SDK, so to run properly the example, looks that the 10.7 changed some structure and code, and oF it’s not enable yet to use this new code, and structure. So what I have to do next, is change the Base SDK, of my project to use the old version MacOS 10.6 SDK, that’s works well with oF.

First off change the OpenFramework, Base SDK:

And after, change also your application Base SDK:

After be sure that both are using the 10.6 MacOS SDK, it’s time to compile again, but first check if you choose the correct program to be compile, as the fact that we have to projects (the example project, and the openFrameworks project), it’s possible that is selected to compile the openFramework not our application advanced3dExample.

So check if the project to be compiled is our example program, the image below shows where this information appears in the Xcode (it’s show beside the RUN icon):

In case that the program that shows there is not our example that we want you have to click to change:

Everything looks well now, so it’s time to build and run our example, and after the compilation it’s done we receive our application running:

Now I`m able to keep learning C++ and OpenFrameworks, and you also :)