Would you find something like this useful?
#1
Posted 29 January 2013 - 05:53 PM
Would you find this useful? Is there anything that could make it more useful?
#2
Posted 29 January 2013 - 05:54 PM
Did I help you out? Feeling generous? I accept tips via Paypal or Bitcoin @ 14mDxaob8Jgdg52scDbvf3uaeR61tB2yC7
#3
Posted 29 January 2013 - 06:04 PM
For PHP. The documentation could be better. Often I just want an example or a quick run through, and I don't want to have extra clutter. Probably more likely to be true for newcomers.Enter it where? And for what language? For PHP you can already do something like that by just going to http://php.net/function_name_here.
#4
Posted 29 January 2013 - 08:49 PM

Did I help you? Feeling generous? Donate to me! || Donate to phpfreaks!
#5
Posted 29 January 2013 - 08:51 PM

Did I help you? Feeling generous? Donate to me! || Donate to phpfreaks!
#6
Posted 29 January 2013 - 08:55 PM
So I have to say, no, it would not be useful.
How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq
Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!
#7
Posted 29 January 2013 - 09:16 PM
Ironic that you mention that; they recently updated their design, which IMO makes it easier to use. Still not the clearest, but it is a step in the right direction.Agreed, PHP's manual is one of the best there is. Compare it to something like jQuery.
@OP - what you are suggesting sounds like what is built into most IDEs (syntax hinting). While useful, I wouldn't visit a 3rd party to do it. Integrate it into let's say, this forum, or other web app, sure. But a stand-alone site? Not useful IMO.
About Me:
My Portfolio | My Company | GitHub | Twitter | Careers 2.0
My Projects:
- Google Analytics: Universal Analytics code migration guide
- Lnked.me - URL Shortener
- Use Yii? Check out my analytics-based extensions: Google Analytics | Piwik | Adobe SiteCatalyst
#8
Posted 30 January 2013 - 12:19 PM
Are there any other languages this might be useful for that don't have a great doc like PHP? Python maybe?
#9
Posted 30 January 2013 - 01:43 PM

Did I help you? Feeling generous? Donate to me! || Donate to phpfreaks!
#10
Posted 30 January 2013 - 06:20 PM
I made a quick mockup to give you a better idea. But, I think you've pretty much answered the question, unless I didn't explain it very well. It would work sort of like Google instant, the results would just be loaded via AJAX. "More details" would go to PHP's doc.Perhaps you should better illustrate/explain what your idea is, because I still fall back to my original statement in that it sounds like a regular site-search input field to me? Virtually every online doc has a search box somewhere...you enter in a function name and it lists results. Usually the actual manual entry is the first result returned if the user spelled it right and all that... so I'm not really sure what more you're bringing to the table here...
Edited by sug15, 30 January 2013 - 06:22 PM.
#11
Posted 30 January 2013 - 06:44 PM
Also, it's only really useful as a quick guide for people who already know what they are looking for but fail at remembering details like argument orders. If someone knows there is probably a function out there that does what they want but can't quite describe it, they are likely going to be entering into a search bar a description of what they are trying to do. That makes the rest of the search results returned more useful.
sidenote: I like auto-complete suggestion dropdowns for search boxes but fuck all i fucking HATE code auto-completers... I know a lot of people like it, especially since the "popups" do usually show syntax and descriptions etc.. but for me...it ends up hurting more than helping. Like for instance I use html-kit and I can't tell you how many times I've gone to make an opening php tag only to have html-kit decide I wanted an html p tag. /me shakes angry fist at auto-complete.

Did I help you? Feeling generous? Donate to me! || Donate to phpfreaks!
#12
Posted 30 January 2013 - 08:30 PM
Haha, yes, I hate that too.So it sounds/looks basically like what most IDE "auto-complete" features do. Not sayin' it's a bad idea, just saying it seems more like reinventing the wheel, not really seeing anything new or different from this. IOW between auto-completes from site search boxes or IDEs...this is kinda already covered...
Also, it's only really useful as a quick guide for people who already know what they are looking for but fail at remembering details like argument orders. If someone knows there is probably a function out there that does what they want but can't quite describe it, they are likely going to be entering into a search bar a description of what they are trying to do. That makes the rest of the search results returned more useful.
sidenote: I like auto-complete suggestion dropdowns for search boxes but fuck all i fucking HATE code auto-completers... I know a lot of people like it, especially since the "popups" do usually show syntax and descriptions etc.. but for me...it ends up hurting more than helping. Like for instance I use html-kit and I can't tell you how many times I've gone to make an opening php tag only to have html-kit decide I wanted an html p tag. /me shakes angry fist at auto-complete.
Are there any languages something like this might be particularly useful for? I get that it's sort of "meh, already kinda there" for most.
#13
Posted 31 January 2013 - 07:06 PM
sidenote: I like auto-complete suggestion dropdowns for search boxes but fuck all i fucking HATE code auto-completers... I know a lot of people like it, especially since the "popups" do usually show syntax and descriptions etc.. but for me...it ends up hurting more than helping. Like for instance I use html-kit and I can't tell you how many times I've gone to make an opening php tag only to have html-kit decide I wanted an html p tag. /me shakes angry fist at auto-complete.
Amen!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












