Web Design Forum: Avera - Viewing Profile - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting

Avera's Profile User Rating: *****

Reputation: 1 Neutral
Group:
Members
Active Posts:
413 (0.35 per day)
Joined:
16-November 08
Profile Views:
4,212
Last Active:
User is offline Mar 31 2011 12:36 PM
Currently:
Offline

My Information

Member Title:
Advanced Member
Age:
42 years old
Birthday:
January 1, 1970
Gender:
Not Telling Not Telling
Location:
Manchester

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Users Experience

Experience:
Web Guru
Area of Expertise:
Designer/Coder

Posts I've Made

  1. In Topic: Linking to other sites

    31 March 2011 - 12:40 PM

    View Postjheg, on 23 February 2011 - 12:26 PM, said:

    I am almost finished with a site I am building and one of the pages I am building is a legal guide to moving home. I have drafted in the help of a local solicitor firm to help me do this and have agreed to have their logo on that page with a link to their site. I would also like a link from their site to mine but would this be frowned upon from a SEO point of view? or would it be good SEO. The reason I ask is because I seem to remember reading somewhere that linking to each others sites is not good for SEO.


    It is not true that reciprocal linking has little value. Google does indeed treat reciprocal linking with some weight, if, and only if, the sites are content related.

    I.e. a plumber who has a links page and links to the local pub and local farmer will carry no weight at all, however, two solicitors linking to each other is favourable.
  2. In Topic: Functions

    30 March 2011 - 05:44 PM

    The global keyword is evil it allows people to do some extremely sloppy programming.

    You should build your code into a class.

    Also, zend framework has a fully separated MVC. This allows you to logically separate your model (db) from your view (template/presentation layer).

    View Postandyl, on 20 March 2011 - 01:28 PM, said:

    There's no assignment of $mysqli in the function - that variable is null. Either change the function to take your instance of $mysqli as a parameter, or create a Database class and use the singleton approach. I recommend the latter.


    $mysqli isn't NULL it's non-existent - it would throw a PHP Error NOTICE. Good advice on the Singleton class pattern. The singleton pattern is a favourite approach for DB connections.
  3. In Topic: Prevent SQL Injection with PHP

    29 March 2011 - 08:54 PM

    View PostCabbage, on 28 March 2011 - 12:59 PM, said:

    Just wrote this and thought I'd throw it up here, I know I'm not that active anymore but if I can help out in any way that's a plus :).

    http://thisismedia.c...njection-in-ph/


    Well written article. However, just use PHP PDO. PDO binding does this for you and with pdo binding SQL injections are near on impossible.
  4. In Topic: Magento OR Prestashop?

    29 March 2011 - 08:34 PM

    View PostDx3webs, on 13 March 2011 - 04:26 PM, said:

    Magento is where it is all at. Learn how this system works and you will have a job for life.


    This statement couldn't be more true!

    Magento has almost every feature that you could ever dream of, and since your friend will be using this website to run a part of his business, he will start asking for features that he sees on other websites; with Magento your answer to the question "Can I have that on my site" will be "Yeah no problem - give me a few days"...

    By learning Magento, you will also learn advanced PHP OOP techniques as Magento makes use of the leading PHP framework, Zend Framework. This is an object orientated PHP framework with a full MVC separation, learning this will open more doors than you could ever imagine.

    Magento all the way!

    Good luck with your project.