levelx.me

  • Home
  • Design
    • 3D
    • Art
    • Freebies
    • Inspiration
    • Interior Design
    • Photography
    • Tutorials
    • Typography
  • Technology
    • Benchmarks
    • How To
    • News
    • Programming
    • Reviews
    • SAP BASIS
  • Lifestyle
    • Do it Yourself
    • Entertainment
    • Quotes
    • Self Improvement
    • Sports
  • Resources
    • Infographics
    • Themes
    • Tools
    • Wallpapers
  • ETC
    • places
    • Uncategorized
  • Android
    • How To
    • News
  • Apple
    • How To
    • News
  • Archive for the ‘Programming’ Category:

    WordPress vs Joomla Vs Drupal – Infographic Comparison

    July 26th, 2011 / 2 Comments » / by AF8AB

    Who is the real king of Open Source CMS platforms? Each WordPress, Drupal and Joomla have their own advantages and discrepancies, for example WordPress has hundreds of amazing premium and free themes and plugins available and is very easy to use. Joomla is a very powerful CMS as compared to WordPress which is basically a blogging platform.

    cms-compare-header

    Devious Media have created this interested info-graphic with comprehensive details about each of the platforms. Let’s’ have a look.

    Click Image for a Larger Version

    Read more…

    Posted in Infographics, Technology, Wordpress | 2 Comments »

    Symfony 1.4 – Doctrine and Multiple Database Connections

    June 14th, 2011 / 2 Comments » / by Faizan

    Symfony is one of the best PHP framework out there and provides great control over your code.  It provides speed, security, ease of use and flexibility out of the box. But some times due to lack of documentation or outdated information on internet you get stuck in different issues for which even googling can’t help so you have to figure it out yourself.  While working on a project I got stuck in an issue with multiple databases and Doctrine ORM. Suppose you are creating a web application where for each user of application there is a separate database stored on some different server, we call this Client database, while there is one Master database which stores user’s credentials and their Client database credentials. Now when user logs in we have to modify DSN (Data Source name) for client database depending on which user has logged in.

    Read more…

    Posted in Programming | 2 Comments »

    Basic Guide: How to Install WordPress on Localhost

    March 15th, 2011 / No Comments » / by AF8AB

    This is a very basic guide to set up WordPress on your localhost. I develop custom WordPress blogs / websites and sometimes I have to test themes. For that I need WordPress on my localhost so I don’t have to run ftp softwares like File’fuggin’Zilla and move files around all the time on web server. Anyway, here is what you need to do.

    I’m assuming you have Wampserver and mySql database running on your computer. If you don’t, you can go ahead and download Wamp setup from here. Installation is easy, ask your grandma to install it for you. Run it after its installed. Now,

    Step 1 – Get latest version of WordPress from here.

    Step 2 – Extract the contents of downloaded Zip in your C:\wamp\www

    Step 3 – Rename the folder wordpress to whatever you want i-e NewBlog

    Read more…

    Posted in Do it Yourself, ETC, How To, Programming, Resources, Technology, Tools, Tutorials, Wordpress | No Comments »

    What is google webP image format

    October 3rd, 2010 / 3 Comments » / by AF8AB

    Google has announced its exciting and new image format for the web called weppy or WebP. Google wants to improve the web in addition to saving the bandwidth of massive amounts of data flowing through Google’s servers. Here is what Google had to say about WebP and why a new image format was needed.

    Most of the common image formats on the web today were established over a decade ago and are based on technology from around that time. Some engineers at Google decided to figure out if there was a way to further compress lossy images like JPEG to make them load faster, while still preserving quality and resolution. As part of this effort, we are releasing a developer preview of a new image format, WebP, that promises to significantly reduce the byte size of photos on the web, allowing web sites to load faster than before.

    As mentioned above, WebP (pronounced “weppy”) is an all new image format set to replace the aging and bulky JPEG format, currently the king of the web. WebP, like JPEG, is a lossy compression format, so don’t expect images to look any better. However, WebP uses an entirely different compression method based on Google’s open-source VP8 codec, which results in images approximately 40% smaller than their JPEG counterparts.

    WebP also utilizes a new container based on RIFF, allowing developers to insert metadata and potentially more future “features”.

    Although WebP images will be smaller than JPEG versions, image quality may not be any worse, though we’ll have to wait and see for definitive proof. For a comparison, check out Google’s JPEG vs WebP gallery.

    Gallery_1286115533653

    Read more…

    Posted in News, Programming, Technology | 3 Comments »

    Symfony 1.4 – Doctrine Timestampable Behaviour

    February 13th, 2010 / 12 Comments » / by Faizan

    Recently Symfony released their LTS 1.4 branch. Unlike previous versions Symfony 1.4 comes with Doctrine as default ORM.  If you have worked with Doctrine’s you will be familiar with its Timestampable behavior.

    actAs:
      Timestampable: ~

    Timestampable behavior  automatically adds a created_at and updated_at column and automatically set the values when a record is inserted and updated.  I mostly use Symfony Admin Generator to generate Backend. This behavior worked fined till Symfony 1.2, but in Symfony 1.3 / 1.4 for unknown reasons this behavior adds created_at and updated_at fields as required and their value must be filled during creation of new record in admin generator.

    Read more…

    Posted in Programming | 12 Comments »

    I Am The Stig – Facebook Application

    December 22nd, 2009 / 7 Comments » / by AF8AB

    This is it.

    stifingo2

    Today, I proudly announce the completion and launch of our first facebook Application “I AM THE STIG”. We’ve been working on it for quite few weeks and we’re so excited about it. Explore and start using it..

    http://apps.facebook.com/iamthestig/

    Read more…

    Posted in Design, Programming, Technology | 7 Comments »

    Hiding the Administrator or Front end layout template in Joomla!

    September 1st, 2009 / No Comments » / by Faizan

    It’s taken a good part of an hour trying to find how to disable the administrator or front end template for Joomla.
    So I thought I’d just make a post in an effort to turn this frustrated energy into something positive.

    To display only the contents of the view on the page without being framed by a template, the tmpl variable needs to be set to “component”.

    Something along the lines of having the following snippet in the controller method:
    JRequest::setVar(’tmpl’, ‘component’);

    Either that, or adding “&tmpl=component” to the URL.

    I remember doing it before, however it’s been a while.

    All attempts at searching on how to do the above proved frustratingly impossible as the organic search results for google are filled with people asking how to “disable legacy” modes, “templates”, “modules”, “plugins”, how to make your joomla admin panel rock(!!!!) – not what I was looking for!

    Hope this helps other Joomla! component developers :P

    reference

    Posted in Programming | No Comments »

    12

    Subscribe to Levelx

    Popular Posts

    • Create a jigsaw puzzle in adobe illustrator
    • At The Heart of The Image! – Nikon D5000 Review
    • Calibrating HTC Desire Battery
    • Famous Salvador Dali Paintings
    • Taking Screenshots on HTC Desire
    • Typography Tips – With Amazing Examples
    • Home Decoration and Interior Design 2011
    • Funny Road Signs (Part II)
    • Nokia Touch and Type X3-02 and C3-01: Review and Comparison
    • 3D Building Exterior Render – Design Workflow

    Recent Comments

    • Loading...

    Top Posts

    • FORMULA 1 - 2009 Season. (28)
    • Fixing IE7 dropping PHP Sessions (25)
    • M2N32 SLI-DLX WFI && RzR DeathADDER - - BURNT ! ! (17)
    • HTC Desire - Benchmark (17)
    • Home Decoration and Interior Design 2011 (17)
    • From Sand To Silicon: How A Intel CPU Is Built (16)
    • Windows 7 Theme - VEER II (16)
    • HTC Desire 2.10.405.2 OTA Update (16)
    • REQ: Stalker [ 1979 ] OST. (15)
    • Meet your DESIRE | HTC Desire Reviewed (15)

    Tags

    1TB android android 2.3 gingerbread android software apple art asus benchmark desire desktop eclair facebook Formula 1 froyo Gaming gingerbread google hacking htc HTC Desire infographic internet ios iPad iphone Islam lahore Lifestyle mobile new year Nexus one Nokia nvidia pakistan photography php psp Review s60 smart phones symbian symfony typography wallpapers web 2.0

    levelx.me is proudly powered by WordPress | Theme Designed by AF8AB