Jump to content

ignace

Moderators
  • Posts

    6,457
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by ignace

  1. Why create such a ridiculous campaign? Or have they shifted their market to ignorant users only? They just give all Windows-haters a reason to hate them, instead of trying to convince them. @Neil HAHA I don't doubt you can find that somewhere in their features list aswell @CV XSS and the likes spread through Facebook, Twitter, ..
  2. ignace

    Education

    AND BE ON TIME. Damn, I know 3 freelancers and 2 of them have time issues. Once in a while I meet with those 2 and they are ALWAYS late, when a client calls they tell them to meet them in one hour. Right, one hour later we are still talking and they probably even forgot about the meeting with the client.
  3. A common mistake that will keep haunting you. You can't wait until this project is over and you receive your payment. You think, this is the last time I ever do that. Wrong! He'll start telling his friends of this "cheap webdesigner" he knows, and they'll start knocking on your door expecting to not pay more then he did. Basically, this project bought you a one-way ticket to hell Instead of your worth going up, it goes down as any price above this price is seen as unfair. Read: http://freelanceswitch.com/money/the-price-is-right/ And more broadly: http://freelanceswitch.com/blog/explore/#2 Working for a cheap price is depressing, it takes away creativity and motivation. And the result scares away both visitors and prospects.
  4. I also doubt any experienced persons will join those groups as they can't be bothered answering questions from everyone who joined the group. So you get beginners helping beginners and no-one that can correct when something wrong is being passed.
  5. ignace

    Education

    Some do not exceed to support even themselves in their entire freelancing career.
  6. I got an e-mail from Microsoft with the following image: "Bescherming tegen social engineering malware" = "Protection against social engineering malware" Is it just me? Or is there something really wrong about this picture
  7. What is your setup? Will you teach these subjects? If you are, then you should have a very good background in all of these as you can't just say things without knowing it for sure. Website development is a very broad field, you have: 1) network (tcp/ip, http) 2) server (linux, windows), LAMP + WAMP installation, .. 3) website design 3.1) wire-frames, mock-ups, prototypes 3.2) usability, accessibility, SE marketing 3.3) card-sorting, .. 3.4) color theory 3.5) html, css, js, .. 4) website development 4.1) basic syntax 4.2) dynamic- vs static typed 4.3) types (scalar, non-scalar), constants 4.4) expressions, operators, control structures, (popular) functions, diference between classes and objects, exceptions, what are references, .. 4.5) security 4.6) different methodologies, naming conventions, .. 4.7) manual use 4. advanced features: PDO, session_set_save_handler(), php.ini, filter_*(), ctype_*(), .. 4.9) XDebug, PHPUnit, IDE use, .. 5) social media integration And I'm only scratching the surface here
  8. It's overall better but you should stick more to what I gave you especially the DAO objects, use a CRC (Class Responsibility-Collaboration Card) if you have trouble figuring out what a class responsibility is and what isn't.
  9. ignace

    Education

    If the university/college has great teachers which are passionate about what they teach and have a great background in what they teach, then go for it. I've attended 2 college's none of them worked for me. I always felt like a QA-agent for students: correct teachers when they were wrong, why they were, and how it then should be done instead. Like: Why globals are bad; Why $password = md5($password) is weak; The CSS property "position" does not have a "right" value; That IN() can be used instead of looping; str_replace() CAN take an array as search parameter; stdClass is not the base class of every created class; ..
  10. ignace

    Education

    A BS guarantees the employer he will be able to do the job (in some form). The company I work for shares my vision and that's to not base your opinion on degree but instead base it on facts. Every candidate receives a few questions he needs to answer + an example program he needs to explain that tests his active knowledge on the workings of PHP and the manual. And to be honest every time their is a new job opening it takes a serious amount of time and contestants to be filled. My advice: learn PHP well (ZCE well) and show off that knowledge during a job interview.
  11. No, of course not. There are multiple options, but this one is by far the most flexible.
  12. Quite possibly, I should have been sleeping already. Even the matchsticks that I use to keep my eyes open are getting tired
  13. $search = array( 'ST' => '', 'TS' => '', 'SP' => '', 'TP' => '' ); $count = 0; $text = str_replace(array_keys($search), array_values($search), $text, $count);
  14. You need to use a template engine (like Smarty) then you can do something like: $engine->display('layout1.tpl');
  15. HTML thus. Do you use a template engine?
  16. I didn't understand what he was trying to say as he said: Which somewhat contradicts.
  17. What do you mean by another layout? HTML or CSS?
  18. $count = 0; $text = str_replace($search, $replace, $text, $count); Read the manual and learn.
  19. Why don't you? It's so easy, you think about a certain page, start drawing some sketches and as you are drawing new ideas come to mind and you revise until you get no more new ideas. In a few minutes time you created a sketch with refreshing ideas that your client (mostly) loves. It also gives you sometimes idea's for other pages of the project. I bought myself a big sketch-board to hang to the wall. The sketching mostly gets out-of-control by which I waste a lot of paper, that's why I bought the sketch-board to save paper Since, I started sketching I have got some very great response.
  20. I believe the error occurs due to: printlog=False Which possibly should have been: $printlog=False
  21. What games? There are no games... :S LOL, sorry I was evaluating multiple design's (yours and one from another thread) and replied in the wrong one
  22. I've never known any project, even the very smallest, that didn't require a form of planning (wire-frames, a Photoshop design, and SE strategy). I don't see how you could skip those? You can't go think about what strategy you will use to generate leads as these should be incorporated in to the design or where should come what or how it should look after you published the website.
  23. 1) Only use tables for tabular data not to build websites (-> SEMANTICS) 2) Any project starts with PLANNING not hacking away at some code For more information see: http://www.idesignstudios.com/blog/web-design/phases-web-design-development-process/ http://webdesignfromscratch.com/design-process/web-design-process.php
  24. <?php class Database { public function __construct($name, $password, $username = 'root', $host = 'localhost') {} public function __destruct() {$this->disconnect();} public function connect() {/*lazy-load*/} public function disconnect() {} public function select($table, $fields, $where = '') {} public function insert($table, $data) {} public function update($table, $data, $where = '') {} public function delete($table, $where) {} public function fetchAll($mode = MYSQL_ASSOC) {} public function fetchOne($mode = MYSQL_ASSOC) {} } class UserDao { public function __construct(Database $db) {} public function findByCredentials($username, $password) {/*return new User();*/} public function findByUsername($username) {} public function findById($id) {} } class User { private $id, $username, $password; } class Auth implements SplSubject { private $authObservers; public function notify() {/*foreach ($this->authObservers as $o) if (false === $o->update($this)) return $this->abort();*/} public function detach(SplObserver $observer) {} public function attach(SplObserver $observer) {} public function logon($username, $password, $rememberMe = 3600) {/*$username = new FilterUsername($username);*/} } class CleanIp implements SplObserver { public function update(SplSubject $subject) {} }
  25. 1) You don't need unset() in your class method, local variables are cleaned once it leaves the method scope 2) CREATE TABLE queries should only be made during installation, nowhere else 3) Installation is not a responsibility of UserData 4) Favor composition over inheritance class User/* extends Data*/ { private $data; public function __construct(Data $d) { $this->data = $d; } } 5) Separation of Concerns UserData should not be responsible for query handling Your design is an overall improvement but still miles away from being flexible.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.