php-general Digest 22 Feb 2011 03:49:53 -0000 Issue 7194

Topics (messages 311497 through 311503):

Re: New to list and to PHP
        311497 by: Pete Woodhead
        311498 by: Pete Woodhead
        311500 by: Bastien Koert

Re: About mobile apps
        311499 by: Daniel Brown

Solr Extension - Changing the wt-Parameter from xml to json
        311501 by: Thomas Junghans

Re: Jquery
        311502 by: Adam Richardson

Re: Submitting data to MySQL database using HTML/PHP form
        311503 by: Nazish Zafar

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
On 2/20/2011 3:47 PM, tedd wrote:
At 2:03 PM -0500 2/18/11, Pete Woodhead wrote:
Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very
new to code writing.
Thought this would be a good way to learn good habits as well as good code
writing.
Looking forward to learning and participating.

Pete:

Welcome to the gang.

Minor points:

1. It's not "code writing", it's "coding".

2. You are not a "code writer", but rather a "coder".

You can also be called a "computer programmer" or a "programer" for short -- not to mention some of the other names we are often called. :-)

Cheers,

tedd

Hi Tod,

Thanks for the welcome and the jargon corrections.
So far the other help I've received is to show me, "the new guy" where the clean up broom and shovel are!
We'll if you'll excuse me I've got some sweeping to do.  :)

Regards,
Pete




--- End Message ---
--- Begin Message ---
On 2/20/2011 6:41 PM, Richard Quadling wrote:
On 20 February 2011 23:34, Richard Quadling<[email protected]>  wrote:
On 18 February 2011 19:03, Pete Woodhead<[email protected]>  wrote:
Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be honest I very
new to code writing.
Thought this would be a good way to learn good habits as well as good code
writing.
Looking forward to learning and participating.

Assume that all the data you get from the user is out to get you. It
probably isn't. Most of the time. But when it does, it'll be your
fault. Unless you've left the company by then.

Also, poka-yoke is a great concept to learn about (thanks to a great
article in php|Architect all the way back when).

Richard.

--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

http://www.phparch.com/magazine/2006-2/february/ in case anyone was wondering.

Hi Richard,
Thanks for the welcome, the advice and the link.
I was not aware of PHP | Architect.
Truth be told I'm still at the PHP for Dummies level.

Regards,
Pete

--- End Message ---
--- Begin Message ---
On Mon, Feb 21, 2011 at 9:37 AM, Pete Woodhead
<[email protected]> wrote:
> On 2/20/2011 6:41 PM, Richard Quadling wrote:
>>
>> On 20 February 2011 23:34, Richard Quadling<[email protected]>  wrote:
>>>
>>> On 18 February 2011 19:03, Pete Woodhead<[email protected]>
>>>  wrote:
>>>>
>>>> Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be honest I
>>>> very
>>>> new to code writing.
>>>> Thought this would be a good way to learn good habits as well as good
>>>> code
>>>> writing.
>>>> Looking forward to learning and participating.
>>>>
>>> Assume that all the data you get from the user is out to get you. It
>>> probably isn't. Most of the time. But when it does, it'll be your
>>> fault. Unless you've left the company by then.
>>>
>>> Also, poka-yoke is a great concept to learn about (thanks to a great
>>> article in php|Architect all the way back when).
>>>
>>> Richard.
>>>
>>> --
>>> Richard Quadling
>>> Twitter : EE : Zend
>>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>>>
>> http://www.phparch.com/magazine/2006-2/february/ in case anyone was
>> wondering.
>>
> Hi Richard,
> Thanks for the welcome, the advice and the link.
> I was not aware of PHP | Architect.
> Truth be told I'm still at the PHP for Dummies level.
>
> Regards,
> Pete
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Consider Head First Object Oriented Analysis and Design

http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678


-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
On Mon, Feb 21, 2011 at 06:01, Webforlaget.dk <[email protected]> wrote:
> Is there any problem with submitting data on webside-form from af mobile
> device or is it a demand to develop a application for the device in order to
> keep data safe.
>
> what is the benefits u get from an application comparring to the
> device-internet-browser.

    This has zero to do with PHP, Rolf.  Check Google for security
implications and cost-vs-benefit of developing an app versus using the
device's embedded browser.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

--- End Message ---
--- Begin Message ---
Hi

I'm using the Solr extension (http://php.net/manual/en/book.solr.php) to create 
a search site for a company. I am trying figure out a way of changing the 
"wt"-parameter from "xml" to "json". I have searched already but with no 
success so far.

Further information to help with my question:
- http://wiki.apache.org/solr/CoreQueryParameters#wt
- Example 5 on http://www.php.net/manual/en/solr.examples.php shows the 
"wt"-parameter set to "xml".

Thanks in advance!
tj


        

--- End Message ---
--- Begin Message ---
On Mon, Feb 21, 2011 at 7:56 AM, Ellis Antaya <[email protected]>wrote:

> Hi, first, like everyone else before me told already, you forgot to load
> jquery in your page.
> Example :
> <script type="text/javascript" src="
> http://code.jquery.com/jquery-1.5.min.js
> "></script>
>
> Also, i would change your script to remove the first function that was
> wrapping everything.
> $(document).ready is enough.
>

Actually, he can remove the $(document).ready function and leave the outer
function function, as this is a shorthand for the ready call:
http://api.jquery.com/ready/

<http://api.jquery.com/ready/>Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com

--- End Message ---
--- Begin Message ---
Thanks! -- I'll definitely look into Netbeans.

(The IDE that I was using didn't seem to recognize syntax errors.)


On Mon, Feb 21, 2011 at 4:13 AM, Pete Ford <[email protected]> wrote:

>
> Nazish,
> Find yourself an editor or development environment that does source code
> highlighting - this sort of error will be very obvious in such a program.
> I'm not going to recommend one - that's a sure way to start an argument -
> but
> I use Netbeans.
>
> Cheers
> Pete
>
> --
> Peter Ford, Developer                 phone: 01580 893333 fax: 01580 893399
> Justcroft International Ltd.
> www.justcroft.com
> Justcroft House, High Street, Staplehurst, Kent   TN12 0AH   United Kingdom
> Registered in England and Wales: 2297906
> Registered office: Stag Gates House, 63/64 The Avenue, Southampton SO17 1XS
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---

Reply via email to