Search found 38 matches

by Josh
Wed Oct 19, 2011 12:45 pm
Forum: PHP
Topic: PHP Frameworks
Replies: 4
Views: 993

Re: PHP Frameworks

jacek wrote:I generally prefer to do everything myself, people tend not to like it when I say this...
I can completely understand what you mean! I used to prefer that aswell, and still do sometimes, but Frameworks make rapid development a lot faster in a large amount of cases. Each to their own eh!
by Josh
Tue Oct 18, 2011 8:34 pm
Forum: PHP
Topic: PHP Frameworks
Replies: 4
Views: 993

Re: PHP Frameworks

libeco wrote:I'm using CodeIgniter for my work and I love it. It just makes everything just that little bit easier, without adding too much. Had a very quick look at Zend and CakePHP, but never really tried them.
I'm a massive hater of CakePHP, it's too "magic" for me, doesn't feel like your coding.
by Josh
Tue Oct 18, 2011 6:23 pm
Forum: General Chat
Topic: What framework ?
Replies: 3
Views: 1042

Re: What framework ?

OOP is for DRY (Dont Repeat Yourself) coding. It's the same way you might use functions but you use classes as well to separate out them functions (sort of..). I'd recommend CodeIgniter as a first framework, it has a small learning curve. Once you get comfortable with MVC Architecture I recommend Fu...
by Josh
Tue Oct 18, 2011 11:44 am
Forum: General Chat
Topic: I need YOU! (Different screen resolutions)
Replies: 17
Views: 2018

Re: I need YOU! (Different screen resolutions)

http://uploadir.com/u/7lfuv2

1366x768 - Ubuntu 11.10 - Chrome (From Google, not Chromium)
by Josh
Tue Oct 18, 2011 8:58 am
Forum: PHP
Topic: Fatal error: Call to undefined function mysql_connect()
Replies: 10
Views: 25681

Re: Fatal error: Call to undefined function mysql_connect()

EcazS wrote:
Josh wrote:If you're using windows you should really install Xampp instead of installing each part seperately.
Why? Please do tell me why.
Because it's a much easier process having everything installed in one go and having it auto-configured.
by Josh
Tue Oct 18, 2011 8:40 am
Forum: Introductions
Topic: Hey
Replies: 4
Views: 1263

Hey

Hey! I'm Josh, a PHP developer from West Midlands, UK. PHP is my main language (been doing it 5 or so years) but I also dabble in Java and occasionally Ruby. Recently I have become a massive framework fan and use them for any decently-sized project. I'll be here quite often helping out and giving su...
by Josh
Tue Oct 18, 2011 8:36 am
Forum: General Chat
Topic: Ubuntu
Replies: 9
Views: 1768

Re: Ubuntu

EcazS wrote:I use Windows 7 with Notepad++
Whenever I code on W7 I use Notepad++ aswell, or Sublime Text.
by Josh
Tue Oct 18, 2011 8:32 am
Forum: PHP
Topic: Fatal error: Call to undefined function mysql_connect()
Replies: 10
Views: 25681

Re: Fatal error: Call to undefined function mysql_connect()

If you're using windows you should really install Xampp instead of installing each part seperately.
by Josh
Tue Oct 18, 2011 8:25 am
Forum: Code
Topic: BetterPHP PHP Library
Replies: 102
Views: 40699

Re: BetterPHP PHP Library

I'd suggest using the __autoload($class_name) { include $class_name . '.php'; } function rather than doing that include all, including them all will slow page speed which isn't good, especially if they're not all being used. Oh and I'd suggest you look at CodeIgniter's docs and helpers, their helper...
by Josh
Tue Oct 18, 2011 8:22 am
Forum: PHP
Topic: PHP Frameworks
Replies: 4
Views: 993

PHP Frameworks

What are your opinion on Frameworks? Personally I use one for every decently sized project that I do. My favourites ones at current are Laravel and occasionally a bit of FuelPHP. I used to use CodeIgniter but I got bored of it really easily, it just seems outdated. I've seen Kohana, Symfony etc. but...
by Josh
Tue Oct 18, 2011 8:19 am
Forum: General Chat
Topic: Ubuntu
Replies: 9
Views: 1768

Ubuntu

I was wondering, who uses Ubuntu or another Linux distro? I am currently dual booted with Ubuntu 11.10 and Windows 7 and was wondering what you guys use. I know Jacek uses Ubuntu (but which version do you use Jacek? do you like Unity? personally I actually quite like it). Just wondering, also, what ...
by Josh
Tue Oct 18, 2011 8:16 am
Forum: Suggestions
Topic: PDF Creation Tutorial
Replies: 2
Views: 916

Re: PDF Creation Tutorial

Yeah I was thinking that I didn't want to at first but it's an awesome library that can convert HTML into a PDF really well, just a suggestion
by Josh
Mon Oct 17, 2011 10:39 am
Forum: PHP
Topic: === and ==
Replies: 5
Views: 969

Re: === and ==

Let's say you had two variables: one is the integer 3 and the other is a string representation of the number 3, so it'd be "3" or '3'. If you compared them two variables using == it would come out true, as they are equal, but if you use === it would return false because they are different ...
by Josh
Mon Oct 17, 2011 10:36 am
Forum: Suggestions
Topic: PDF Creation Tutorial
Replies: 2
Views: 916

PDF Creation Tutorial

I see on your Upcoming Tutorials list you have PDF Creation. Are you going to be using a PHP Library for this or inbuilt PHP stuff? I'd recommend using mPDF and printing HTML to the PDF, I spent hours trying to make stuff work then I found mPDF and it renders stuff how you'd expect it if you render ...
by Josh
Sun Oct 16, 2011 9:27 pm
Forum: General Chat
Topic: Needing Specific Ubuntu's Applications
Replies: 4
Views: 709

Re: Needing Specific Ubuntu's Applications

I code in Ubuntu and then if I need to design I'll boot Windows for Photoshop, seems to work best for me :)
I use gedit for coding (modified, with plugins etc.)
by Josh
Sun Oct 16, 2011 9:25 pm
Forum: Suggestions
Topic: Java Support?
Replies: 1
Views: 1875

Java Support?

Am I being blind or is there not a Java support forum? I know the main focus is PHP but since there's Java tutorials I'd like to see a support forum :)

Thanks!
by Josh
Sun Oct 16, 2011 12:09 pm
Forum: General Chat
Topic: Gedit Themes
Replies: 1
Views: 432

Gedit Themes

I was wondering how to style Gedit to how Jacek has it in his PHP tutorials.

Many thanks for any help given!
@Jacek