topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday October 14, 2024, 3:51 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: My rant against php...  (Read 8099 times)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
My rant against php...
« on: July 28, 2006, 01:13 PM »
I'm currently writing my notetakers roundup using the php template mouser provided, and I have some basic newbie questions and rants.

First of all, none of the editors out there allow any kind of wysiwig editing of php code.  How come?  Wouldn't it be nice to see the changes in some kind of "live" way as you change the code?  I remember that when I made a couple of pages in Dreamweaver, you could do that with html.  You just write code and you can split the screen and see the actual page under, or even preview it in the browser.  But with php, you have to go through all this localhost business, that I can't figure out for the life of me.

Another issue I have with editors (any basic editor like Ultraedit, Notepad++, whatever) is that, yes, they do syntax highlighting and automatic-indentation, which is nice.  However, when long lines wrap around, none of the editors will wrap the text where the indentation already is.  It would be very nice if the wrapping was also indented.  Why is this so hard?  Don't people want this?

OK, I'm done.

gjehle

  • Member
  • Joined in 2006
  • **
  • Posts: 286
  • lonesome linux warrior
    • View Profile
    • Open Source Corner
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #1 on: July 28, 2006, 01:43 PM »
wysiwyg = { x | x != dynamic }

but while you're at it
can you look out for a wysiwyg editor for c and c++
i'm in desperate need of one, kthx

mukestar

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 68
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #2 on: July 28, 2006, 01:55 PM »
heh

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #3 on: July 28, 2006, 02:01 PM »
what he is talking about is a web page with embedded php.
and yes, it would be nice to hava a wysiwyg web editor which dynamically interprets the php; basically just a local web server with php installed for rendering the pages, with a web page editor frontend.  it may exist but i dont know any off hand.

mukestar

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 68
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #4 on: July 28, 2006, 02:15 PM »
Well Dreamweaver can integrate with a local or remote web server and process pages Dynamicaly as you work on them, in fact it can do ASP,PHP and JHP and im not even sure what JHP is. I think its been able to do that for a couple of years, unfortunatly it aint cheap.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #5 on: July 28, 2006, 02:23 PM »
wysiwyg = { x | x != dynamic }

but while you're at it
can you look out for a wysiwyg editor for c and c++
i'm in desperate need of one, kthx


I'd rather have a WYWIWYG editor ;)
- carpe noctem

gjehle

  • Member
  • Joined in 2006
  • **
  • Posts: 286
  • lonesome linux warrior
    • View Profile
    • Open Source Corner
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #6 on: July 28, 2006, 02:44 PM »
I'd rather have a WYWIWYG editor ;)

hell yes
but for now vim, imagination, and brainpower did it for me :D
(in most cases)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: My rant against php...
« Reply #7 on: July 28, 2006, 03:12 PM »
I kind of understand, it's complicated.

Any suggestions for editors that indent wrapped text? 

mukestar

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 68
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #8 on: July 28, 2006, 03:28 PM »

gjehle

  • Member
  • Joined in 2006
  • **
  • Posts: 286
  • lonesome linux warrior
    • View Profile
    • Open Source Corner
    • Read more about this member.
    • Donate to Member
Re: My rant against php...
« Reply #9 on: July 28, 2006, 03:42 PM »
Any suggestions for editors that indent wrapped text?

www.vim.org ;-)
yes, there is a windows version, with gui

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: My rant against php...
« Reply #10 on: July 28, 2006, 04:55 PM »
Ah!  Crimson does it very nicely!  If only Ultraedit would do this, I don't know why it doesn't.

I've heard a lot of good things about vim, but it doesn't wrap the indentation (at least not by default), and the program seems a little raw for a newbie like me. 

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: My rant against php...
« Reply #11 on: July 28, 2006, 04:58 PM »
I think Crimson just replaced Notepad++ as my freeware text editor of choice.