php-general Digest 30 Oct 2012 05:26:47 -0000 Issue 8025

Topics (messages 319611 through 319616):

Rest
        319611 by: Adam Tong
        319613 by: Marco Behnke
        319614 by: Matijn Woudt
        319615 by: Volmar Machado

Re: TURBOPY cloud framework + IDE beta available NOW
        319612 by: Marco Behnke

Re: confirm subscribe to php-gene...@lists.php.net
        319616 by: Ivo Engelhardt

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Hi,

I need to develop a rest API.I want your feedback on how you develop
rest apis. I don't want to use a heavy framework just for that, and I
find url rewriting time consuming.

Any suggestions?

Thank you

--- End Message ---
--- Begin Message ---
Am 27.10.12 19:47, schrieb Adam Tong:
> Hi,
>
> I need to develop a rest API.I want your feedback on how you develop
> rest apis. I don't want to use a heavy framework just for that, and I
> find url rewriting time consuming.
>
> Any suggestions?
>
> Thank you
>
Let us see what you have done so far towards your goal, so we can
discuss on how we can improve it.

-- 
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
On Sat, Oct 27, 2012 at 7:47 PM, Adam Tong <adam.to...@gmail.com> wrote:
> Hi,
>
> I need to develop a rest API.I want your feedback on how you develop
> rest apis. I don't want to use a heavy framework just for that, and I
> find url rewriting time consuming.
>
> Any suggestions?
>
> Thank you
>

I'd suggest you google for "PHP REST".
It has plenty of information. There are even lightweight frameworks
that do nothing more than providing REST API. And while URL rewriting
may be time consuming, you could use a single rewrite that pushes all
to PHP and you can do the rest in PHP.

- Matijn

--- End Message ---
--- Begin Message ---
---------- Mensagem encaminhada ----------
De: "Volmar Machado" <qi.vol...@gmail.com>
Data: 27/10/2012 17:07
Assunto: Re: [PHP] Rest
Para: "Matijn Woudt" <tijn...@gmail.com>

But if what you want to know, is how to works inside, google for
PHPMaster.org REST PHP. They have a two part article about it, and is
really good
Em 27/10/2012 14:49, "Matijn Woudt" <tijn...@gmail.com> escreveu:

On Sat, Oct 27, 2012 at 7:47 PM, Adam Tong <adam.to...@gmail.com> wrote:
> > Hi,
> >
> > I need to develop a rest API.I want your feedback on how you develop
> > rest apis. I don't want to use a heavy framework just for that, and I
> > find url rewriting time consuming.
> >
> > Any suggestions?
> >
> > Thank you
> >
>
> I'd suggest you google for "PHP REST".
> It has plenty of information. There are even lightweight frameworks
> that do nothing more than providing REST API. And while URL rewriting
> may be time consuming, you could use a single rewrite that pushes all
> to PHP and you can do the rest in PHP.
>
> - Matijn
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Am 27.10.12 16:22, schrieb Johannes Reichardt:
> Hi developers,
>
> I would like to invite you to test a public beta of the hybrid nosql
> PHP framework with IDE
> that has been developed by me within the last 10 years (don't be
> afraid, most time it was rebuilt
> from scratch to make it more simple).

From what I see most of your concepts are not up to date of how you
would do things now.
This starts with simple "leave brackets on if else single line
conditions" which is from my point of view a no go and ends with using
static calls instead of instances.

And why PHP 5.2?

And I am curious if you have developed a real templating engine or if
you are going by eval()? From what I see, it looks a bit like that.

But these are only my points. I browsed the pages, had no insight on the
code.

But I like your concept on the in place editing, that looks pretty cool
and handy.


-- 
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz


Attachment: signature.asc
Description: OpenPGP digital signature


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

-- 
  Ivo Engelhardt
  engelha...@fastmail.fm

Am Di, 30. Okt 2012, um 6:25, schrieb php-general-h...@lists.php.net:
> Hi! This is the ezmlm program. I'm managing the
> php-gene...@lists.php.net mailing list.
> 
> I'm working for my owner, who can be reached
> at php-general-ow...@lists.php.net.
> 
> To confirm that you would like
> 
>    engelha...@fastmail.fm
> 
> added to the php-general mailing list, please send
> an empty reply to this address:
> 
>    
> php-general-sc.1351574730.pnaeclmgbekeljhbofol-engelhardt=fastmail...@lists.php.net
> 
> Usually, this happens when you just hit the "reply" button.
> If this does not work, simply copy the address and paste it into
> the "To:" field of a new message.
> 
> or click here:
>       
> mailto:php-general-sc.1351574730.pnaeclmgbekeljhbofol-engelhardt=fastmail...@lists.php.net
> 
> This confirmation serves two purposes. First, it verifies that I am able
> to get mail through to you. Second, it protects you in case someone
> forges a subscription request in your name.
> 
> Some mail programs are broken and cannot handle long addresses. If you
> cannot reply to this request, instead send a message to
> <php-general-requ...@lists.php.net> and put the
> entire address listed above into the "Subject:" line.
> 
> 
> --- Administrative commands for the php-general list ---
> 
> I can handle administrative requests automatically. Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
> 
> For help and a description of available commands, send a message to:
>    <php-general-h...@lists.php.net>
> 
> To subscribe to the list, send a message to:
>    <php-general-subscr...@lists.php.net>
> 
> To remove your address from the list, just send a message to
> the address in the ``List-Unsubscribe'' header of any list
> message. If you haven't changed addresses since subscribing,
> you can also send a message to:
>    <php-general-unsubscr...@lists.php.net>
> 
> or for the digest to:
>    <php-general-digest-unsubscr...@lists.php.net>
> 
> For addition or removal of addresses, I'll send a confirmation
> message to that address. When you receive it, simply reply to it
> to complete the transaction.
> 
> If you need to get in touch with the human owner of this list,
> please send a message to:
> 
>     <php-general-ow...@lists.php.net>
> 
> Please include a FORWARDED list message with ALL HEADERS intact
> to make it easier to help you.
> 
> --- Enclosed is a copy of the request I received.
> 
> Return-Path: <nore...@php.net>
> Received: (qmail 74938 invoked from network); 30 Oct 2012 05:25:30 -0000
> Received: from unknown (HELO lists.php.net) (127.0.0.1)
>   by localhost with SMTP; 30 Oct 2012 05:25:30 -0000
> Return-Path: <nore...@php.net>
> Authentication-Results: pb1.pair.com header.from=engelha...@fastmail.fm;
> sender-id=unknown
> Authentication-Results: pb1.pair.com smtp.mail=nore...@php.net;
> spf=unknown; sender-id=unknown
> Received-SPF: unknown (pb1.pair.com: domain php.net does not designate
> 140.211.15.143 as permitted sender)
> X-PHP-List-Original-Sender: nore...@php.net
> X-Host-Fingerprint: 140.211.15.143 osu1php.osuosl.org Linux 2.6
> Received: from [140.211.15.143] ([140.211.15.143:46535]
> helo=osu1php.osuosl.org)
>       by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP
>       id 91/F3-31721-7C46F805 for 
> <php-general-subscribe-engelhardt=fastmail...@lists.php.net>; Tue, 30 Oct 
> 2012 00:25:29 -0500
> Authentication-Results: osu1php.osuosl.org smtp.mail=nore...@php.net;
> spf=neutral; sender-id=neutral
> Authentication-Results: osu1php.osuosl.org
> header.from=engelha...@fastmail.fm; sender-id=neutral
> Received-SPF: neutral (osu1php.osuosl.org: 127.0.0.1 is neither permitted
> nor denied by domain of php.net)
> Received: from [127.0.0.1] ([127.0.0.1:48671] helo=localhost)
>       by osu1php.osuosl.org (envelope-from <nore...@php.net>)
>       (ecelerity 3.3.2.44647 r(44647)) with ESMTP
>       id BE/E1-04504-1C46F805; Tue, 30 Oct 2012 05:25:23 +0000
> Date: Tue, 30 Oct 2012 05:25:21 +0000
> Message-ID: <be.e1.04504.1c46f...@osu1php.osuosl.org>
> X-Authentication-Warning: osu1php.osuosl.org: nobody set sender to
> nore...@php.net using -f
> To: php-general-subscribe-engelhardt=fastmail...@lists.php.net
> Subject: PHP Mailing List Website Subscription
> X-PHP-Originating-Script: 0:subscribe.php
> From: engelha...@fastmail.fm
> 
> This was a request generated from the form at
> http://www.php.net/mailing-lists.php by 217.86.189.244.
> 

--- End Message ---

Reply via email to