i look some example of using Swish Search Engine Extension in php - 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/
=)

Related

PHP code explorer - showing classes and functions separately

I wonder if it's possible to view a PHP code source in a way that https://j11y.io/jquery/ shows a JQ code. Of course I mean reading code from a given file, not from websites code.
I'm not looking for programs like the PHPdocumentor.
Thank you in advance for any reasonable reply.
P.S. For perfectionists - I'm searching for a nice website or software (and I would prefer that option, so that I can be quite sure about the security), which will give me such a useful ability. I'm disturbed after using CTRL-F all the time ;)

Performing searches against large dictionaries using php

Currently I am trying to perform text searches against large dictionaries using php or mysql. Until now I haven't found the best way to do that. For example there is a Text:Scan module written in Perl
http://search.cpan.org/~iwoodhead/Text-Scan-0.28/Scan.pm
which is exactly what I need for php. If you are aware of some way to do that in php please share this knowledge with me! :)
Thanks for Your help!
As far as I understood, what you may need is something like Zend_Search_Lucene. You will get more information from http://framework.zend.com/manual/en/zend.search.lucene.overview.html
Have a look at Sphinx.
We are using it in one of our projects and it's serving well.
Moreover PHP has PECL extension for it.
MySQL has in-built support for full-text indexing and search:
here. This might be what you are looking for

A shared online code viewing tool with syntax highlighting?

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/

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.

"Universal" search engine for PHP examples

There are a lot of web sites for for PHP developers to copy scripts from. I wonder if there is a "universal" search engine to search examples from all of these sites? Something like a Google custom search engine which searches PHP examples from good web sites. My wife needs a tool like that and I guess this question should be sent to the PHP gurus here. Thank you in advance.
BTW, There is a useful search engine for Java examples here: http://www.google.com/coop/cse?cx=004472050566847039233:9ld3aazskua
JB
What about http://www.google.com/codesearch?
you can try this one
http://www.koders.com/
For Google, start you search term with filetype:phps <?php to search for source files.
Php search for foo.
There is also http://www.krugle.com/
On the PHPClasses website you can find a class for just about everything, and it has the search capability.
I have always found that php.net have great examples. and if there isn't something in the main article the comments will usually have what your looking for.
You can view the massive list of functions here: http://www.php.net/quickref.php
for people just starting to learn php then W3Schools is an excellent recourse.
I also used TiZag greatly when I learnt php
(just do a google search for W3Schools or TiZag)

Categories