Skip to Content

develCuy's blog

by Fernando Paredes García


Cache, NoSQL and old SQL

Nowadays our web development life with FLOSS is getting more complex. Do you remember the nginx vs. lighttpd vs. apache? Now it is about cassandra vs. mongodb vs. couchdb, and memcached vs. redis vs. etc.....


A free and open source mobile life

One of my best friends sold me an Android HTC T-mobile G2. Him told me that an smartphone can change the lifestyle, that was right for me too!

After 2 months of playing with it, and being tired of using closed source software in an open source operating system (a.k.a Android), started to look for free (as in bear and as in speech) alternatives. Be warned that you will void your device warranty and should backup all your personal data: phone contacts, messages, etc, so you can recover it, after all, freedom needs some job ;)


Howto install Titanium Appcelerator in Ubuntu 10.04

UPDATE 2011-07-19: Following instructions also work with Ubuntu 11.04 Natty Narwhal.

Programming for mobile in Linux was a pain in the neck 6 years ago and it is still a pain in 2011. The following articles may help you in your journey:

  1. http://dalibornasevic.com/posts/14-how-to-install-titanium-and-android-s...
  2. http://developer.appcelerator.com/question/118186/kitchen-sink-not-worki...
  3. http://developer.appcelerator.com/question/35751/error-failed-installing...

If you survive let me know :)


Moving Drupal's file system path

Recently I were archiving a Drupal site and needed to move the "files" folder to another path. Then some critical issues raised:

  • Image paths were using an nonexistent path
  • All file links were missing the domain name

The following modules were affected:

  • Imagecache: when displaying cached images
  • User: when displaying the default avatar
  • Faq: was not displaying the header image
  • Node: image paths were explicit (it is usual)

Then had to update following tables and system variables:

  • Variables: user_picture_default, faq_description, theme_fusion_starter_lite_settings

Drupal Summit Latino 2011 - Lima, Peru

All of Latin America celebrates its biggest Drupal event of the year!

We can finally officially announce the biggest event dedicated to Drupal for the whole Latin American continent: "Drupal Summit Latino – Lima 2011".

The summit will take place in Lima (Peru) from 27th to 29th of January 2011.

We will have a full schedule of sessions by renowned and experienced Drupalers from several Latin American countries, the U.S. and Europe.

We are prepared and expect more than 300 attendees, that undoubtedly will be the highest concentration ever seen in Latin America of experience and knowledge of the most successful websites publishing software at the moment: Drupal, of course!

We invite you to propose a session for the Drupal Summit Latino 2011! Please be aware that the deadline for proposals is the 10th of January.


Security of Views 2 when dealing with Drupal cache

I've been working with Views since Drupal 5.x, at that time it was the longest form you could ever have imagined. But it was still an awesome module with its ability to facilitate the creation of lists and tables to display content. With the release of Drupal 6.x, the community had to wait a while to get Views 2.0 in place. It came with great UI usability improvements, amazing enhancements and a brand new API.

Views 2 UI improvements


Drupalcon's video archive

Can't attend Drupalcon? take it easy! watch the The Internet Archive. To date there are thousands of videos from past Drupalcons. A tremendous source of wisdom in the most exiting Drupal topics since 2007.


HOWTO phplua + PHP 5.2 on Ubuntu

Lua is an embeddable scripting language. If you are trying to embed it in PHP follow this instructions that may help you:

$ sudo apt-get install phpize liblua5.1-0-dev 
$ git clone git://repo.or.cz/phplua.git src
$ cd src/
$ phpize
$ ./configure

At this point you are almost done, BUT please edit the file Makefile and change the line:

LUA_SHARED_LIBADD = -llua

by:

LUA_SHARED_LIBADD = -llua5.1

Then is time to finish cooking:

$ make
$ sudo make install

Almost done, do a test:

<

pre>
$ make tests #all will fail, that is fine by now


Drupal is written in PHP but I still love it

My d.o profile says that I'm a 3 years old drupaler, and I love it. From my personal vision, God blessed me a lot since I'm working with Drupal. Not only in my job, also had the wonderful opportunity to meet so nice people, and visit 3 new countries in just one year!

What about PHP? well..., we have a trading agreement :D


10 tips for multi-language Drupal sites

Do you want to keep your site multi-language friendly? Please follow this:

  1. Use t('text') instead of 'text'
  2. Enable Multilingual in your content types
  3. If your site uses English, do it with pure English first, then translate
  4. Avoid the use of HTML into strings as much as possible
  5. In CCK fields, use PHP code for Allowed values list, i.e.: return array(1=>t('text'), ...)
  6. Add the filter "Node Translation: Language" to your views
    7 - 10. Read the manual http://drupal.org/handbooks

Blessings.



Syndicate content