A shared online code viewing tool with syntax highlighting? - php

I work with another developer on projects and sometimes we are chatting about them via IM. We can dropbox stuff back and forth, but it would be nice to have like an interactive version of pastie / google docs where we could see the same code and edit it together with syntax highlighting.
I know Cloud9IDE has something like this, but I am looking for a real-simple, realtime (if possible), shared textarea with PHP syntax highlighting. Does that exist?
UPDATE
This is what i was looking for: http://collabedit.com/

http://collabedit.com/
is probably what your looking for.

ShiftEdit will be helpful in this case.

This seems like a great solution:
http://phpanywhere.net/overview/
I haven't tried it, They should have real time collobration soon, but you can share and work on projects togheter with this.

I find github is pretty cool for collaboration between developpers. This is a very personnal opinion though, some of the friend developpers I have never got into using git so that is a show stopper with this platform. It may not be what you had in mind, though.

Don't know about the realtime-edit, but have look # https://join.me/ to share screens

Don't forget codepad, it allows your code to be tested online.
http://codepad.org/

Related

What to use in place of EtherPad? Using php and mySql

I came across EtherPad but found out shortly afterwards that it has been shelved by Google.
Is there something else that I could use that allows people to collaborate on an online document? It must have version control.
Should I redevelop something instead?
Andre
Try Etherpad Lite, its much leighter than the original Etherpad
TypeWithMe is a slightly modified version of Etherpad. It's pretty darn good. Oh but, you need to view the document every once in a while or itll get wiped.
I'd recommend Google Docs. You can create new, upload existing, and collaborate online on files like documents, spreadsheets, presentations and drawings. Take a look at their Youtube page for a demonstration.
It seems like MobWrite http://code.google.com/p/google-mobwrite/ is a good solution. Just wish it had the versioning information etc that EtherPad had. Does anyone agree or have something better to embed in a PHP and mySQL website?
EtherPad is still available for buidling and deploying and it even have some seldom commits. If you want to use as an user, there are a few deployments of Etherpad (or perhaps modified versions of it) such as:
PiratePad
MoPad
Besides that, there is a quite comprehensive list of possibilities in this wikipedia entry for collaborative text editing software

Debug php with Netbeans - Newbie source request

I'm using var_dump. Everywhere. It's a mess. And slow. I would like to lock a variable, right-click, choose test, and it will show me the output results on each period or my script, on a IDE window. -
1) Does something like this exist on Netbeans ?
2) Regardless about what could the "best" thing here, am wondering, if anyone could advice me some books/resources on the subject: "Debugging for newbies" ?
Update:
I realise that netbeans does have some possible integration. The hard part, however, is that of find newbie resources considering that integration. I mean, I need to understand how the debug tool work. True. But I also need to understand how debug work (in broad general terms sort of speak). :)
Thanks a lot in advance.
XDebug. For configuring it to work with Netbeans, see here: http://wiki.netbeans.org/HowToConfigureXDebug
1) The debug-solution for PHP is XDebug. It got all you need, like variable inspection eg.
2) Not long ago I was searching for that myself. So I know for pretty sure there is nothing like that. XDebug.org and Google will help you.

Is there any sites where users share custom PHP code?

Do you know of any websites that allow users to share there custom PHP functions and code snippets other then? It would be nice to compile a list of a few good resources
http://www.phpclasses.org
Might be obvious to some, but don't forget to include http://pear.php.net/ in your list. ;-)
There is Snipplr.com - A public source code repository for sharing code snippets.
Back in the day when I built some PHP3 sites,
PHP Builder was the place to go. They are still live, but URL shows a number instead of domain name :)
http://63.236.73.209/snippet/
Hot Scripts is one of the biggest sites to my knowledge. There is commercial and free code (easily sortable).
And you should probably make this Community Wiki.

Where can I find videos of someone (who knows what they're doing) writing PHP?

Its been YEARS since I did any PHP.
I am working in .NET but supposed to be teaming up with some PHP people. I'd really like to get up to speed a little in whats changed in the language and the IDE tools - but I really don't have the time nor energy to learn anything. I probably won't have to write any PHP, but I want to.
I'm looking therefore for some kind of videos like these .NET ones where you get to see the IDE, the basic way of working etc. etc. I'm not looking for someone using notepad - I want something where I can see how real expert PHP programmers work.
the thing is that with PHP there is no single "the IDE" and "the way". there is a multitude of tools, frameworks, libraries, extensions, IDEs, plugins, etc.
my favourite IDE for PHP is Aptana and the nice thing about Aptana is that there is Aptana.tv: http://www.aptana.tv/ which has very nice video-casts about all aspects of the IDE...
the Video PHPEditorPart1 is quite close to what you're asking for.
I find Lynda.com a pretty useful resource, even though the videos aren't free. If you can get your company to spring for the cost of a login it tends to be a pretty decent place for anyone in the office to learn a few new skills.
For free stuff I find the learn list pretty decent and the PHP link in the learn list got me this site for php videos.
Hopefully something useful for you in those links.
Only thing I can suggest is the CodeIgniter how-to videos here. It should give you a general idea how the architecture of a typical PHP app is layed out and how a coder goes about creating it.
Whatever you do, do NOT search for PHP on Youtube.
PHP has no specific IDE. You can write it in notepad or vi if you felt like it.
Your best bet is to start reading books. Videos are great but learning the methodology is way more important than learning any IDE. When you watch videos you are missing out on so many side details its crazy.

i look some example of using Swish Search Engine Extension in php

did somebody use this Extension in php or have an example of code,
edit :
i want to hear an opinion on this Extension if somebody deal with it.
a tutorial with code , large examples ..
Is this what you're looking for?
http://us3.php.net/manual/en/book.swish.php You can even find example code.
I haven't used swish myself though so I can't vouch for it. I have, however, been pleasantly surprised with Sphinx
I'll google it for you, you lazy jerk
http://www.pixel2life.com/tutorials/swish_and_swishmax/swish_with_php_mysql/
=)

Categories