Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to create blocs of php code

Received: by 10.43.61.141 with SMTP id ww13mr5973316icb.6.1350378094242;
        Tue, 16 Oct 2012 02:01:34 -0700 (PDT)
X-BeenThere: symfony2@googlegroups.com
Received: by 10.50.41.132 with SMTP id f4ls4211765igl.1.gmail; Tue, 16 Oct
 2012 02:01:31 -0700 (PDT)
Received: by 10.43.61.141 with SMTP id ww13mr5973245icb.6.1350378091019;
        Tue, 16 Oct 2012 02:01:31 -0700 (PDT)
Received: by 10.43.61.141 with SMTP id ww13mr5973243icb.6.1350378091001;
        Tue, 16 Oct 2012 02:01:31 -0700 (PDT)
Return-Path: <pol...@w00d5t0ck.info>
Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169])
        by gmr-mx.google.com with ESMTPS id s15si1197141igi.1.2012.10.16.02.01.30
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 16 Oct 2012 02:01:30 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.214.169 is neither permitted nor denied by best guess record for domain of pol...@w00d5t0ck.info) client-ip=209.85.214.169;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.214.169 is neither permitted nor denied by best guess record for domain of pol...@w00d5t0ck.info) smtp.mail=pol...@w00d5t0ck.info
Received: by mail-ob0-f169.google.com with SMTP id va7so5732837obc.28
        for <symfony2@googlegroups.com>; Tue, 16 Oct 2012 02:01:30 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:x-gm-message-state;
        bh=IyGAP2Fv5J8hQm9m86lusSqzQT6PkBSmA0iiVUoNmlY=;
        b=cPDHI8d0LdgqSaxvgK+wlQ/dez1A8sNZBwyIJlnSpSEkOla7NlhNTPrE7IMTWLBJKy
         zn3APsxk1nG70EcCvowZ1lpoCyp3Lk8JL+7tAb2yd2Rr2ahQhD+EZhSOIuf6sGAJ5JDs
         Pnudw7wDIMhE5KoaYVyGBgw2bIh60yabJoXZg/8T7sAC/4qTBzxFsjECh62KFGLwDf5R
         LuU5LLYnrIQHGE0dZPhwQJv1sI9uf5rScAkH3GXzLJoiVft5SuQwOlp9OCUwiWniXskC
         GSrDiO3N3eOptUSTjgzGeIJ5ld4x49teFgFP0vsP5yinlf3QCLU7XFz5S2aeNr+JRcr6
         NPUA==
Received: by 10.60.32.243 with SMTP id m19mr474767oei.21.1350378090002; Tue,
 16 Oct 2012 02:01:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.0.110 with HTTP; Tue, 16 Oct 2012 02:01:09 -0700 (PDT)
In-Reply-To: <7a35c5d4-2193-4ffb-9ea9-139619f8c1d4@googlegroups.com>
References: <7a35c5d4-2193-4ffb-9ea9-139619f8c1d4@googlegroups.com>
From: Gergely Polonkai <pol...@w00d5t0ck.info>
Date: Tue, 16 Oct 2012 11:01:09 +0200
Message-ID: <CAEnoc6ct5-Cum-5u5dBcUV_hekCL2-ZDQP4NxmHNkU0D82K...@mail.gmail.com>
Subject: Re: [Symfony2] How to create blocs of php code
To: symfony2@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8fb1ebc45df72404cc29668e
X-Gm-Message-State: ALoCoQn1e37FdnnmWhkUp/kiUM4xbsDEV3xDeoSOFCOxeeVStlVm5YRmru1zgbtLB1NXax9+XoFF

--e89a8fb1ebc45df72404cc29668e
Content-Type: text/plain; charset=UTF-8

I did just the same thing, although it is not perfect yet. Check my page's
repo at https://github.com/gergelypolonkai/gergelypolonkaiweb

Best,
Gergely

2012/10/16 manu <emmanuel.parf...@gmail.com>

> I'm building a little blog engine, and I'm stuck on something : I want to
> ba able to add blocs of code in my blog posts, just like templates on
> Wikipedia.
>
> Some of these templates are a little complex, and require some code. What
> is the best practice in such a case ? Should I put php code in the database
> ?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "Symfony2" group.
> To post to this group, send email to symfony2@googlegroups.com
> To unsubscribe from this group, send email to
> symfony2+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony2?hl=en
>

--e89a8fb1ebc45df72404cc29668e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I did just the same thing, although it is not perfect yet. Check my page&#3=
9;s repo at=C2=A0<a href=3D"https://github.com/gergelypolonkai/gergelypolon=
kaiweb">https://github.com/gergelypolonkai/gergelypolonkaiweb</a><div><br><=
/div>

<div>Best,<br>Gergely<br clear=3D"all"><br><div class=3D"gmail_quote">2012/=
10/16 manu <span dir=3D"ltr">&lt;<a href=3D"mailto:emmanuel.parf...@gmail.c=
om" target=3D"_blank">emmanuel.parf...@gmail.com</a>&gt;</span><br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">

I&#39;m building a little blog engine, and I&#39;m stuck on something : I w=
ant to ba able to add blocs of code in my blog posts, just like templates o=
n Wikipedia.<div><br></div><div>Some of these templates are a little comple=
x, and require some code. What is the best practice in such a case ? Should=
 I put php code in the database ?</div>

<span class=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <br>
If you want to report a vulnerability issue on symfony, please send it to s=
ecurity at <a href=3D"http://symfony-project.com" target=3D"_blank">symfony=
-project.com</a><br>
=C2=A0<br>
You received this message because you are subscribed to the Google<br>
Groups &quot;Symfony2&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:symfony2@googlegroup=
s.com" target=3D"_blank">symfony2@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a href=3D"mailto:symfony2%2Bunsubscribe@googlegroups.com" target=3D"_blank=
">symfony2+unsubscribe@googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/symfony2?hl=3Den" target=3D"_blan=
k">http://groups.google.com/group/symfony2?hl=3Den</a><br>
</font></span></blockquote></div><br></div>

--e89a8fb1ebc45df72404cc29668e--