🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #205439

Re: jsp vs php

#205439
From: Ghost
Date: Tue, 30 Apr 2013 13:58
26 lines
2057 bytes
Użytkownik "R.e.m.e.K" <go@dev.null> napisał w wiadomości 
news:517fbf12$0$1252$65785112@news.neostrada.pl...
> 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?

A teraz przyjrzyj sie jak wyglada HTML. 
Technical Details
Message-ID: <517fce0c$0$1270$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!wsisiz.edu.pl!plix.pl!newsfeed2.plix.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
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> <517fbf12$0$1252$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!wsisiz.edu.pl!plix.pl!newsfeed2.plix.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
From: "Ghost" <ghost@everywhere.pl>
Newsgroups: pl.comp.programming
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> <517fbf12$0$1252$65785112@news.neostrada.pl>
Subject: Re: jsp vs php
Date: Tue, 30 Apr 2013 15:58:29 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Lines: 27
Message-ID: <517fce0c$0$1270$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 80.55.157.1
X-Trace: 1367330316 unt-rea-a-02.news.neostrada.pl 1270 80.55.157.1:3379
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit