izrafel's Profile User Rating: -----

Reputation: 10 Tradesman
Group:
Active Members
Active Posts:
84 (0.06 per day)
Joined:
24-July 09
Profile Views:
3,565
Last Active:
User is offline May 18 2013 12:28 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0

Latest Visitors

Icon   izrafel has not set their status

Posts I've Made

  1. In Topic: using git as a base for multiple version software, but merging downstr

    Posted 26 Oct 2012

    @cfoley

    maybe not a bad idea,have to look into those patterns, but it's too late now to rewrite the software and make it use those patterns. Either way, git supports and does what i want it to do, so for now i will try this approach :).
  2. In Topic: multiple row update in one query, or cycle queries?

    Posted 29 Jul 2012

    yeah thought so :), the table will be relatively big(10 000 - 100 000 rows), but the users are limited to 10-20 max images.so they can't execute more than 10-20 queries. and this specific query will not be executed very frequently this just changes the order weights field used to order the images the way the user wants.
  3. In Topic: Private Constructor

    Posted 11 May 2012

    View PostDormilich, on 11 May 2012 - 01:03 AM, said:

    View Postizrafel, on 11 May 2012 - 08:28 AM, said:

    private constructors are used if you want to do a singleton pattern.

    be aware that this doesn’t mean a private constructor automatically makes it a Singleton.

    no it doesn't, never said that when you just declare the constr. private this turns the class into a singleton.
  4. In Topic: Private Constructor

    Posted 10 May 2012

    private constructors are used if you want to do a singleton pattern.
    class smt
    {
      private static $instance;
    
      private function __construct() {}
    
      public static function get_instance(){
      {
        if(!self::$instance)
          self::$instance = new smt();
        return self::$instance;
      }
    }
    
    

    P.S implementations may vary, but the idea is to have only one instance of a given class.
  5. In Topic: editing of php string as html

    Posted 9 May 2012

    lifesaver, i didn't know bluefish runs on windows too
    10x man

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

izrafel hasn't added any friends yet.

Comments

izrafel has no profile comments yet. Why not say hello?