<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from PHP to ASP.NET</title><link>http://forums.asp.net/44.aspx</link><description>Discuss moving from PHP to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/658501.aspx</link><pubDate>Fri, 06 Aug 2004 20:48:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:658501</guid><dc:creator>Vintious</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/658501.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=658501</wfw:commentRss><description>ASP.net 2.0 will have an option to compile all the files (aspx, ascx, etc...) into assemblies, increasing performance even more and protecting your IL from people. It's easy to decompile an IL assembly, but there's dotnetfuscator for that.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/653661.aspx</link><pubDate>Mon, 02 Aug 2004 21:30:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:653661</guid><dc:creator>wswartzendruber</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/653661.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=653661</wfw:commentRss><description>There is no &amp;quot;encoding&amp;quot; in anything to do with the .NET Framework.  ASP.NET pages and controls contain plain text.  .NET DLLs contain IL bytecode.  The first time any one of these types of files are executed or if they've been changed, the Framework will compile the plain text (for ASPX and ASCX files) or the IL bytecode (for EXE and DLL files) into actual machine code and store that in a cache.  The next time the same file (ASPX, ASCX, EXE, or DLL) is executed, the Framework will execute the machine code stored in the cache.  This is why ASP.NET pages take forever to load right after they've been modified, and this is what makes ASP.NET faster than any other server side scripting language.  ASP.NET isn't interpreted, it's executed.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/614677.aspx</link><pubDate>Thu, 24 Jun 2004 16:08:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:614677</guid><dc:creator>JordanF</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/614677.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=614677</wfw:commentRss><description>No, he means the raw C#/ASP.NET code, not the outputted HTML.
&lt;br /&gt;

&lt;br /&gt;
You can't encode HTML output.
&lt;br /&gt;
You can encode C# source be simply compiling it.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/614557.aspx</link><pubDate>Thu, 24 Jun 2004 14:37:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:614557</guid><dc:creator>fetcher</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/614557.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=614557</wfw:commentRss><description>if you put your code in your code-behind why the heck do you need to protected your aspx/ascx/asmx files??? it's just html!  I do a view page source and see your html anyway.....unless you like &amp;quot;good&amp;quot; ol' style spaghetti code where you mix html with code ....
&lt;br /&gt;

&lt;br /&gt;
In asp.net v2 you'll also be able to encode you're entire app
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&amp;quot;&amp;quot;MY QUESTION IS: Does ASP (C#) allow to encode scripts like php? I need to protect my own codes, and I'm not sure if I can do it on ASP.&amp;quot; &amp;quot;    &amp;lt;-- btw,  ASP&amp;lt;&amp;gt;ASP.NET. so try to be precise toavoid misinterpretations. :)</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/614401.aspx</link><pubDate>Thu, 24 Jun 2004 12:28:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:614401</guid><dc:creator>JordanF</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/614401.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=614401</wfw:commentRss><description>&amp;quot;MY QUESTION IS: Does ASP (C#) allow to encode scripts like php? I need to protect my own codes, and I'm not sure if I can do it on ASP.&amp;quot;
&lt;br /&gt;
Yes, With ASP.NET, you can use compiled DLLs. :)
&lt;br /&gt;
You cannot encode .aspx/.ascx/.asmx files, only C#/VB.NET backend classes.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/609776.aspx</link><pubDate>Sat, 19 Jun 2004 14:19:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:609776</guid><dc:creator>Lordhp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/609776.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=609776</wfw:commentRss><description>Well, I must say that the PHP is really great. I don't know ASP, ASP.net or C# (but i will know it in one year...), and now i think that the ASP in C# is great developeming tools.
&lt;br /&gt;

&lt;br /&gt;
I must say something more, right now I'm finishing the publication system (really HUGE application) in PHP and, too in php (which is not builded for huge apps) it could be programmed. There is not any reason for that why it couldn't be.
&lt;br /&gt;

&lt;br /&gt;
C# is the best language for huge apps, I don't know. I heard that. But, I've programmed that application, and I haven't any problem with that, one page is generated in 0.15 sec. And, it's not standart system, it's 1MB of PHP code (+- 0.05MB) , and that is not so small....
&lt;br /&gt;

&lt;br /&gt;
(the size of app is AFTER encoding by Zend Encoder).
&lt;br /&gt;

&lt;br /&gt;
Yea, Zend Encoder is second thing, what PHP has. PHP scripts could be encoded with it, and then there is no chance to decode it, so your code is protected. Second effect is powering up your application about speed of generation. MY QUESTION IS: Does ASP (C#) allow to encode scripts like php? I need to protect my own codes, and I'm not sure if I can do it on ASP.
&lt;br /&gt;

&lt;br /&gt;
Thanks for replies,
&lt;br /&gt;
Pavel Ptacek, Czech Republic</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/608741.aspx</link><pubDate>Fri, 18 Jun 2004 12:59:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:608741</guid><dc:creator>JordanF</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/608741.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=608741</wfw:commentRss><description>Yep, same here.
&lt;br /&gt;
Both ASP.NET and PHP both have my favor. :D
&lt;br /&gt;
ASP.NET development is more time consuming than PHP regardless of Microsoft's efforts to make it &amp;quot;easy&amp;quot;.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/564635.aspx</link><pubDate>Wed, 05 May 2004 13:35:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:564635</guid><dc:creator>TeWeE</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/564635.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=564635</wfw:commentRss><description>I agree... I'm trying to learn ASP.NET, but i can't stop use PHP to my website.
&lt;br /&gt;

&lt;br /&gt;
- TeWeE</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/511387.aspx</link><pubDate>Thu, 18 Mar 2004 19:03:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:511387</guid><dc:creator>pickyh3d</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/511387.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=511387</wfw:commentRss><description>Use controls and just tell them to move the entire control.
&lt;br /&gt;

&lt;br /&gt;
That's the beauty of using graphics designers with ASP.NET as opposed to Classic ASP or PHP, where they would have to find and move your variable to move some text.
&lt;br /&gt;

&lt;br /&gt;
In ASP.NET, if you code properly, there will be a control that they can drag somewhere else and your text should go with it.&lt;pre&gt;&amp;lt;html&amp;gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;
&lt;br /&gt;
   here is some generic text &amp;lt;asp:literal id=&amp;quot;blah&amp;quot; runat=&amp;quot;server&amp;quot;/&amp;gt; more text
&lt;br /&gt;
&amp;lt;/body&amp;gt;
&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;Could be easily shifted to have your dynamic text appear above the generic text:&lt;pre&gt;&amp;lt;html&amp;gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;
&lt;br /&gt;
   &amp;lt;asp:literal id=&amp;quot;blah&amp;quot; runat=&amp;quot;server&amp;quot;/&amp;gt; here is some generic text more text
&lt;br /&gt;
&amp;lt;/body&amp;gt;
&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;As opposed to PHP (Classic ASP is the same as PHP here only they have &amp;lt;%=%&amp;gt; instead of &amp;lt;?=$?&amp;gt; [$ is for variable obviously]):&lt;pre&gt;&amp;lt;html&amp;gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;
&lt;br /&gt;
   here is some generic text &amp;lt;?=$blah?&amp;gt; more text
&lt;br /&gt;
&amp;lt;/body&amp;gt;
&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;If I am a graphics designer, I would much rather see asp:literal or asp:label as opposed to &amp;lt;?=$blah?&amp;gt;.  I mean if I didn't code in ASP or PHP, I would probably be curious as to what the heck that is without instruction.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/510527.aspx</link><pubDate>Thu, 18 Mar 2004 06:15:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:510527</guid><dc:creator>Pluto04</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/510527.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=510527</wfw:commentRss><description>I supposed it's debateable, because technically a developer focuses more on functionality and a designer creates the look and feel of a web page. It is not wrong for a graphic designer to give a static version to a developer but probably at some stage the look of the page needs to be changed and therefore, it is more of a graphic designer's role to do it. However, I am just curious if there are some sort of template to be used or if someone can give me a few pointers as to what would be the best way to code .Net so a graphic person can make changes without hesitation.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/510337.aspx</link><pubDate>Thu, 18 Mar 2004 00:22:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:510337</guid><dc:creator>Shining Arcanine</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/510337.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=510337</wfw:commentRss><description>I'm new to ASP.NET as well but I suppose the graphic designer turns over a static version to the developer. I would think that would be true in any language.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/508802.aspx</link><pubDate>Tue, 16 Mar 2004 21:12:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:508802</guid><dc:creator>Pluto04</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/508802.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=508802</wfw:commentRss><description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I am new to ASP.Net and was wondering how .Net actually helps when it comes to an environment where there is a developer, who works with a graphic designer, who has no clue about programming but still requires to design the web page that has been coded by the developer?  So, how would .Net increase productivity, since that there are quite a few build in controls that a person needs to know before they can change anything in the code.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/504918.aspx</link><pubDate>Fri, 12 Mar 2004 18:28:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:504918</guid><dc:creator>Daniel P.</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/504918.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=504918</wfw:commentRss><description>&lt;hr&gt;&lt;span style="color=blue;"&gt;Like for example, there are things you can do in perl.net that you can’t do in C# [...]&lt;/span&gt;&lt;hr&gt;
&lt;br /&gt;

&lt;br /&gt;
Could you post an example? :)
&lt;br /&gt;
C# is actually &lt;i&gt;the&lt;/i&gt; .NET language.</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/504828.aspx</link><pubDate>Fri, 12 Mar 2004 17:23:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:504828</guid><dc:creator>er3s</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/504828.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=504828</wfw:commentRss><description>Well,
&lt;br /&gt;

&lt;br /&gt;
I'd have to say that both PHP and asp.net are intended for different audiences.  I think PHP is great if you don't wanna spent alot of time and ENERGY to become a web developer and still have some power.
&lt;br /&gt;

&lt;br /&gt;
I like asp.net because of how the library was thought out and there were features put into asp.net that make me want to learn it.  Code Behind is one.  I cannot tell you how many times i've had to wait because John (i'll use fictional names) was working on BLUE so i had to wait and i couldn't fix my bug.  Output caching is another.  I think it’s an enormous waste of database resources to do a select * from provinces, every time you want to fill that drop down.
&lt;br /&gt;

&lt;br /&gt;
The other reason I like asp.net is things are all organized into objects; the exception is VB.NET who still has support for things liek mid, subtr, clng, etc.  That was done for compatibility reasons, they are just wrapper functions.  I don’t want to spend most of my time searching for a functions name before I get to even use it.  Having stuff to deal with strings in the string class is a huge win for me, and the IntelliSense in Visual Studio really helps me out, I can’t get enough of it, it’s like crack for programmers.
&lt;br /&gt;

&lt;br /&gt;
I have coded in PHP and overall I like it.  It was fast and efficient and displayed my page faster than I could read it, but the build in controls in .net make it more enjoyable.  Like DataLists and DataRepeaters, if I want a table to be 3 columns wide or 4 columns wide it doesn’t require a code edit of any kind; those are normal properties that even a non-programmer could set.  It’s not hard to find that value and work out the columns across and down, its math that people sometimes get scared of, but it’s like a background color, I shouldn’t have to reinvent the wheel to get it changed.
&lt;br /&gt;

&lt;br /&gt;
Anyway, I could go on for hours about the stuff I love about .NET and why I feel it makes a programmer more productive, see I didn’t say its better, because that wouldn’t do PHP justice.  It’s all about developer productivity, nothing more nothing less.
&lt;br /&gt;

&lt;br /&gt;
I came from the C++ world, and I just find C# and PHP syntax tighter than the VB.NET syntax.  Not to say VB.NET is an inferior language by any means because it’s not.  Like for example, there are things you can do in perl.net that you can’t do in C#, does that made it a better language, no, it just makes it a better choice.
&lt;br /&gt;

&lt;br /&gt;
Well, if you go down this far, I thank you for reading my rant
&lt;br /&gt;

&lt;br /&gt;
Chris
&lt;br /&gt;</description></item><item><title>Re: Php still is great</title><link>http://forums.asp.net/thread/490052.aspx</link><pubDate>Sat, 28 Feb 2004 08:32:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:490052</guid><dc:creator>netmastan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/490052.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=44&amp;PostID=490052</wfw:commentRss><description>OH man....the simplicity and huge resources of php , I love php.
&lt;br /&gt;
php is the best..thanks to all php developer.
&lt;br /&gt;

&lt;br /&gt;
php.net  has the best user manual  you have ever seen. It listed all the functions ,class ..etc in the manual and as well as user contribution.
&lt;br /&gt;

&lt;br /&gt;
And guess what php is getting better every day. And i think php user community is larger then asp or asp.net.
&lt;br /&gt;

&lt;br /&gt;
Asp.net is complex and lots of writting.
&lt;br /&gt;

&lt;br /&gt;
Anyway new beginer wants to be web developer, I personally recomend start with php.Guess what I start learning php by reading codes.
&lt;br /&gt;

&lt;br /&gt;
Asp.net has to be more user friendly and simple and Microsoft should stop creating thier own tags.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Whatever I said, I experienced it and  it does not mean I hate asp.net
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;</description></item></channel></rss>