Article View: pl.comp.programming
Article #205438Re: jsp vs php
From: R.e.m.e.K
Date: Tue, 30 Apr 2013 12:54
Date: Tue, 30 Apr 2013 12:54
25 lines
1740 bytes
1740 bytes
Dnia Tue, 30 Apr 2013 10:47:26 +0200, Ghost napisaล(a):
>>> Hint: ajax.
>>
>> Hint powinien raczej brzmiec: Smarty
>> Wtedy nie ma mieszania kodu. Podobnie jak przy korzystaniu z SQLa i
>> bibliotek typu PDO.
>
> Smarty nadal nie pozwalaja uniknac mieszania, po prostu mieszasz inne
> zapisy, ale nadal. To byla slepa uliczka.
Jak to mieszam zapisy??
Przyklad:
$smarty = new Smarty;
$smarty->assign('name', 'george smith');
$smarty->assign('address', '45th & Harris');
$smarty->display('index.tpl');
Gdzie tu mieszanie HTMLa i PHP?
--
pozdro
R.e.m.e.K
Technical Details
Message-ID:
<517fbf12$0$1252$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!xlned.com!feeder5.xlned.com!news2.euro.net!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailReferences:
<cfa1e1b8-b40c-45e1-a091-7e7a1f53c751@googlegroups.com> <slrnkns9ih.jsn.dozzie@jarowit.net> <517e8f58$0$26681$65785112@news.neostrada.pl> <517ed8a7$0$1220$65785112@news.neostrada.pl> <517f8523$0$1210$65785112@news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!xlned.com!feeder5.xlned.com!news2.euro.net!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail From: "R.e.m.e.K" <go@dev.null> Subject: Re: jsp vs php Newsgroups: pl.comp.programming User-Agent: 40tude_Dialog/2.0.15.1pl MIME-Version: 1.0 Sender: hell@heaven References: <cfa1e1b8-b40c-45e1-a091-7e7a1f53c751@googlegroups.com> <slrnkns9ih.jsn.dozzie@jarowit.net> <517e8f58$0$26681$65785112@news.neostrada.pl> <517ed8a7$0$1220$65785112@news.neostrada.pl> <517f8523$0$1210$65785112@news.neostrada.pl> Date: Tue, 30 Apr 2013 14:54:41 +0200 Lines: 25 Message-ID: <517fbf12$0$1252$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: 89-71-60-255.dynamic.chello.pl X-Trace: 1367326482 unt-rea-a-02.news.neostrada.pl 1252 89.71.60.255:53764 X-Complaints-To: abuse@news.neostrada.pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit