New job at schibsted

Hi all,

I know I didn’t write anything for a long time, but I have a reason, I’ve been hired at Schibsted Iberica. To anyone who doesn’t know anything about Schibsted (I didn’t at the begining :)), the company is a media group that is present in 31 countries in Europe, Asia and America which have the newspaper 20 Minutos in Spain and several advertising websites (segundamano.es, blocket.se, custojusto.pt, …).

The work I’m doing is to develop the web platform of all this advertising websites. This platform is written mostly in C and a little part in PHP (with some AJAX in the middle also), languages which I’m very confortable with.

Obviously, I’m still going to develop my personal projects, but until I get a new home and organize myself a little bit the personal development time is going to be reduced considerably.

Happy Hacking!

Posted in English | Tagged , | Comments Off on New job at schibsted

New personal page at GitHub

After a few days resting more than usual and getting a course of ruby I’ve created a new personal page at GitHub, in which you can access to all my projects at GitHub and get some news and info about them.

Actually the CSS it’s optimized for Firefox 4 and Chrome 10, but in the next days I’ll compatibilize with the rest of browsers. I’ve also implementing a JQuery plugin to access to the GitHub API to retrieve the repositories info, so in the next days I will show more features in the page. In the next week I’m going to update also the ritho-web project, so expect news soon.

Happy Hacking.

Posted in English | Tagged , , | Comments Off on New personal page at GitHub

MVC engine finished

After two days of work on ritho-web I’ve finished the MVC engine. I’d some previous ideas about the implementation of the engine from some websites, so it was easy to implement it. The engine have the following elements:

  • Models: The models are used by the controllers as the data representation in the application. Actually there aren’t any model, but I’ll add as soon as I have the database implementation ready.
  • Views: The views gets all the data processed by the controlled and generates the html output. They do it using the Template class, that gets an html template and replace the php vars included by its values, generating the html output.
  • Controllers: The controller process a request and display the html output through the views. To process the request we have to: initialize the controller (including get the configs and the initial models), process the get or post method (which process, if needed, the models and generate the view to show) and display the generated view.

This implementation makes easy to add new views and controllers to process the action requested.

In order to use this engine we have to match at index.php the page requested with the controller that process this action. To make it posible we have to configure Apache to redirect all the request to index.php and, at index.php, check the $_SERVER[‘REQUEST_URI’] variable to know the page that the user is requesting and generate and run the controller tat handle this request.

The next step is to add the database access to the app. I have to think the exact way I’m going to implement this, because I want to make it flexible but optimized to each database engine, so I’ve to think the methods to implement in the DB parent class and in each child (one for each engine) and which queries can be in the database class to use by all the application and which ones have to be implemented directly by the caller method. I’ll keep you informed.

Happy hacking

Posted in English | Tagged , | Comments Off on MVC engine finished

News on Ritho

As I said in my previous post, one of the projects I want to work is my personal web page, and I told you I didn’t have very clear what I’m going to do in it. Well, after some meditation (yes, I even think sometimes) I have much clear what I want to do with the web page.

Te idea is to make a web app useful not only for me, but also to more Free Software hackers, so it will have functionalities to manage both the personal home page of any person and the projects that is involved. This means that the app will have some own functionalities (as blogging, technical articles, tips, patches, …) and some external functionalities integrated with the app (like with social networks or with hosting projects webpages like berlios or github).

This project have the AGPL license, and I have published the code I’ve generated (I’ve just started the project, so don’t be mad) at github and at ritho’s git site. My web page is synchronized with the ritho’s git site. That means it updates when I do a commit to that repository, so, unless I’ve a god reason to do it, the commits to ritho’s repository will be done only by me, but the Github repository will be open to any contribution, so please, feel free to make any contribution.

Happy hacking!

Posted in English | Tagged , | Comments Off on News on Ritho

Next projects

After my exams (I’m studying a barchelor degree in Computer Science at the National University of Long Distance Education) and while I get a job I’m going to work in several projects I’ve in mind since some time to enhace my skills on technologies I think they will be important in my professional future.

The first project I’m going to work is my personal web page (http://ritho.net), in wich I already began to work. I think I’ve in mind this project since I began my computer science studies, in fact I’ve done several tries to make my own personal site, but at the end they’ve finished abandoned. And what’s different this time? Well, the first and main difference is that I’ve time to spend in it, so this time I don’t have that excuse.

The other main difference is that I want to build something useful, so it’s not only going to be my personal web page, it also is going to be a site open to other people. I’m not sure already what I’m going to offer, but several ideas round around my head, including project management and hosting (like github, berlios, sourceforge, …), hosting of blogs, tutorials and technical articles, …

As you see, I don’t have very clear already the project itself, so any new idea will be welcome, but I’ve clear that I’m going to begin with my needs, and from that I’ll extend the web app. What I’ve clear is the technologies I’m going to use: PHP5, postgresql9, JQuery/AJAX, HTML5 and CSS3. With this project I want to experiment with the technologies that are being used in the cloud computing, so I’ll be looking for new interesting techniques.

Other project I want to do is named Kirinki, and its main objetive is to provide a web application for video streaming. Kirinki was a bird native to Númenor, the lost island of Tolkcien’s Middle Earth. My idea with this project is provide a web app that can stream lived and recorded videos (similar to youtube but with live streaming) for free or by paying. This can be interesting both to users that want to share their videos for free and to users that want to offer some paid content (movies, series, live concerts, …).

This project have a lot of work to do, because it can include video format conversions, creation and management of channels, quality of streaming and some social network utilities (votes, comments, followers, …). I’ve started its development with python+django for two main reasons: I want to enhace my skills with those technologies and they allow to manage the resources much better than PHP. If you want to check the code I’ve done you can go to the github project page.

These are the two main computer projects I’m going to spend my time now, but I’ve several projects, computer and no computer related, that I want to spend my time, like enhace my english, gardening, make exercise, study, contributing with some free software project I’m interested (cherokee, bulmages, …) and learn more about kernel hacking (not just Linux kernel).

As you can see, I’ve a lot of projects, so it’s better to start.

Happy Hacking

Posted in English | Tagged , , , | Comments Off on Next projects