Go Back   Novahq.net Forum > Computers > Web design and Programming

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-23-2011, 01:08 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
I would like the time to say...

<rant>
PHP PEAR is this biggest piece of crap I have ever seen. Seriously, way to make something simple way complex instead.

Half of their crappy instructions are shoddy an the other half don't even work.

GRRR...

</rant>
__________________
Reply With Quote
  #2  
Old 07-23-2011, 01:27 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

A lot of open source programs and classes make things overly complicated when there are almost always easier ways. That's why I started writing my own scripts..

I think some programmers like to show off their uber skills by making simple things seem complex.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 07-24-2011, 03:30 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
I hear that.

I've been trying to figure out how to get PEAR to work in a shared hosting environment but it never seems to work. *GRUMBLE*

Do you use any ORM's for your scripting or do you use pure SQL Scott?
__________________
Reply With Quote
  #4  
Old 07-24-2011, 05:48 PM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
Scott uses magic and alcohol
Reply With Quote
  #5  
Old 07-24-2011, 06:05 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
lol!
__________________
Reply With Quote
  #6  
Old 07-24-2011, 06:18 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

What problems are you having getting it to work in a shared environment? Do you have multiple php.ini files or something? It should be pretty straight forward.

As far as ORM's, no I haven't really been interested in that yet..
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #7  
Old 07-24-2011, 10:34 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
For some reason the web-frontend file is being placed in the wrong directory, no matter what I do.

Too bad about the ORM's they save you a ton of time and make it easier to make changes to the DB without breaking your code (as bad).
__________________
Reply With Quote
  #8  
Old 07-31-2011, 08:19 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
BTW, Zend Framework is pretty sweet on PHP, recommend that too.
__________________
Reply With Quote
  #9  
Old 07-31-2011, 09:56 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

What do you like about Zend? I remember back in the day, zend was a PITA to work with. These days i've been using a lot of Javascript and Ajax on the sites I build. One of my biggest gripes when building sites was that posting data from a form had to be submitted to another page where it was validated. This made for some really messy code and was hard to keep track of. Now I just have some simple html pages that post data to php to be processed, then returned to the page without any waiting or page refreshes for the user. It's slick stuff and makes it fun to build sites again.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #10  
Old 08-01-2011, 05:19 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

...

Last edited by Scott; 08-01-2011 at 05:13 PM.
Reply With Quote
  #11  
Old 08-01-2011, 05:11 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Stop quoting spammers. Just report them.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #12  
Old 08-01-2011, 07:18 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Have you looked into the MVC concept? I think it makes the code much easier to maintain first off, second, it is nice to have inline php code with your xhtml and Zend makes it easy to do that.

Zend is pretty slick with page inheritance and nicely formatted URLs. One thing I think is poorly documented is Ajax services.
__________________
Reply With Quote
  #13  
Old 08-03-2011, 09:34 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Personally, I like to create my own php frameworks. I generally find it hard to follow others code and often framework projects are left without support, documentation or updates for years. It does indeed take a bit longer to program, but I don't have to rely on someone else for bugs and updates. I find myself making many frameworks custom for each site I build. Over the years i've found my own ways to save time. I've amassed a huge library of functions and classes that i've built from each site and often find myself using them on many sites. Every site i've built in the past few years follows the same directory structure, coding standard and principle. It took me years to develop but it hasn't needed any changes in a few years.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #14  
Old 08-03-2011, 09:41 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
I agree, I hesitate to use any 3rd party stuff. I worry about code maintenance as well as security, since you never know where they have coded backdoors into their "open source" stuff.

I hate the learning curve too. Sometimes it takes a lot longer to learn someone's stuff than to write your own. I think it is good though, to see other's code. I actually learned a lot of my PHP from your Simple Squad Site.

I had been trying to create my own framework also, but I lacked some of the knowledge required and I am doing this project professionally so that means I am not going to be tied to the project once it finishes. I don't want to have to do all the documentation required for a framework. Zend has pretty decent documentation for being an open source framework so I figure if someone doesn't know how to change/update the code they can just refer to Zend's site. I also couldn't come up with a satisfactory way of securing SQL queries efficiently, so I went with Propel (really hope you look into it at least to see how they do stuff and their syntax). It is really simple to use.
__________________
Reply With Quote
  #15  
Old 08-03-2011, 10:16 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Propel does look very interesting. I will have to check that out, I've not really thought much about SQL frameworks lately. Maybe it's time I learn and start using one, or try and build my own. I always like the challenge of new things. I've never liked the way SQL was handled within PHP.

Simple Squad Site was my absolute first attempt at php and full automation. Pure php in it's most basic form. I love building simple applications that perform tasks well. It's amazing that even after all these years, my two scripts phMailer and phUploader are two highly rated scripts on hotscripts.com in their categories, even though they are the most basic scripts with no fancy ajax, frameworks or classes. Just bare-bones php.


Edit: I just downloaded my simple squad site script.. holy security holes! lol
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #16  
Old 08-03-2011, 11:02 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Lol I used phMailer too

Gotta love looking back at old code. I look back at stuff from a couple of months ago and think "wtf???!?! was I doing?"
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
time for me to go.. .ex. General Chat 12 06-09-2005 09:36 AM
if some one have some time IamEvil Sigs and Graphics 3 04-13-2005 03:35 PM
time .enfo. Feedback / Novahq.net Support 4 02-23-2005 03:07 PM
So the time has come.. CMcGee General Chat 9 01-25-2005 11:09 AM
It's about time someone said something! Desciple General Chat 2 11-25-2002 03:36 PM


All times are GMT -5. The time now is 03:17 AM.




Powered by vBulletin®