Subscribe to RSS - coding
Bringerr Inc.

coding


Show several views with AJAX in Drupal 7

From 2012-06-28

SOS

So you've created your views in Drupal. You supposed that they would bring you calmness into peaceful life. And then you get a new request from your customer -- I want these views to be rendered inside tabs, I want them ten or more per page, and I want them to load dynamically. If you're not a stunned Drupal-only developer, but just a normal guy or gal with a pile of development knowledge, you'll probably try to render your view programmatically using views_embed_view() or similar, then return it to the client side, which is after all some jQuery .click() event with a .post(), and you'll hope for the best.


Developing with Open Source Software

From 2010-11-27

Today, according to w3techs, more than two thirds of the web servers are based on Open Source Software (OSS). Also according to the same source, around 77% of websites are written with Open Source languages like PHP, Perl, Ruby, Python. This is a good reason to start being interested in OSS. Taking it a bit further, it seems that OSS is already ripe enough to provide plenty of tools which are enough to create any imaginable HTML based website.


asdf in web development and beyond

From 2010-11-17
With respect to: 
You got it right. The asdf sequence as it may seem at the first glance is a very handy tool. When editing HTML, PHP or other type of code, frequently you need to pause your work and remember the current place in order to copy something from somewhere (maybe from the same big file) and then quickly go back and paste it right where you were focused before. Some people use bookmarks, others remember it. But remembering requires a minimal effort, when the "autopilot mode" is desired.
The quickest and most effective way to do that, is typing asdf. This does two good things to you:
  • First, as you already guessed, it leaves a bookmark. So coming back is just as easy as pressing Ctrl-F and then stroking the magical asdf.
  • Secondly, if you're editing a code which is compiled, then the compilation won't succeed, which means, you'll never forget to come back to this bookmark.

Finally, you can always use similar sequences like zxcv or qwer etc., to add more reminders as required.

Pages