|
If his server is Linux/Unix based, will the MS stuff even work?
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote:
If his server is Linux/Unix based, will the MS stuff even work?
OK, I'll admit that as he did not specify this, I assumed he was using Windows. I have no idea how far along Mono is, although I thought it was in a usable state, I would do serious research before trusting it. Obviously, there would be no MSDE support.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
ASP.NET is simply the only viable choice for web development. PHP was good in it's day, but that day is long gone.
Pffffffffffft...
Normally I wouldn't disagree with much of what you say in reagrds to programming...you've helped me countless times in C++...
However...that statement clearly suggests to me...you have no idea what your talking about when it comes to web development...
Anything you can do in ASP.NET I can do in PHP...not nateively maybe, but i'm sure there is a library or something written in PHP which allows you to do anything you can do in ASP.NET and in some cases better...
PHP so I understand, is the most popular scripting language around...and for good reason...perhaps the source I got that from was being biased...but IMHO...PHP seems to power most web sites...
PHP scripts are a dime a dozen....for anything you can think of...there are atleast a dozen scripts available ranging from "amatuer coder" to highly "skilled professional"...
PHP I would argue is just as fast in execution if not faster than ASP.NET by virtue of the fact it's OSS and has so many eyes looking at it making optimization changes and the Zend engine likely being written in C for a Linux system. I'm not sure how the two compare byte for byte but in all honesty how can a Windows system execute as quick as a cut down *nix machine running only the required software???
PHP lacks in some RAD/Development areas...like it's OOP support is poor, but that's ok...PHP5 is alot better...besides PHP usually attracts more experienced Linux developers...
There is a definite lack in quality IDE's...I still sometimes use VC++ 6.- IDE
Other than that IDE fact...I would still very much so prefer to use PHP...
BTW-Hosting is half the cost...
As for MySQL? You can use other databases...quit easily...however there are some mega major web sites (so I understand) which are currently using MySQL...so it can't be that bad...
Christian Graus wrote:
not to mention that the web abounds with info.
I don't think so...[^]
I think M$'s advertising is paying off...they've brain washed you
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hockey wrote:
Normally I wouldn't disagree with much of what you say in reagrds to programming...
Hell, you're still entitled to an opinion, and you still are sure to know more than me in some areas.
Hockey wrote:
you have no idea what your talking about when it comes to web development...
I know as much as most people about ASP.NET, a little about asp, and I have only really glanced at PHP. Oh, and I've used J2EE. My comments are derived from the observation that no other platform I have seen supports OO and other methodologies that promote rapid development like ASP.NET does.
Hockey wrote:
Anything you can do in ASP.NET I can do in PHP...
Of course. My comments here aren't meant to suggest PHP can't create a site. Hell, we're all just generating HTML at the end of the day, right ? I'm talking about ease of use, ease of learning, and support for practices that promote easily maintained code.
Hockey wrote:
PHP seems to power most web sites...
Of course, because 'most' sites are written by people for their own use. Look instead at most big and/or commercial sites, and what do you find ? A lot of J2EE, a growing amount of ASP.NET, and some classic asp, for older sites ( like this one ).
Hockey wrote:
PHP I would argue is just as fast in execution if not faster than ASP.NET by virtue of the fact it's OSS and has so many eyes looking at it making optimization changes and the Zend engine likely being written in C for a Linux system. I'm not sure how the two compare byte for byte but in all honesty how can a Windows system execute as quick as a cut down *nix machine running only the required software???
You're talking about the speed of *nix vs Windows, this has nothing to do with PHP/ASP.NET. Mono will even this playing field, assuming such an advantage exists. REsponse times are fast enough that I care more about maintainable sites than fractions of a second.
Hockey wrote:
PHP lacks in some RAD/Development areas...like it's OOP support is poor, but that's ok...PHP5 is alot better...besides PHP usually attracts more experienced Linux developers...
This is my point, this is the reason I'd suggest that someone with a C++ background especially learn ASP.NET instead of trying to learn PHP.
Hockey wrote:
There is a definite lack in quality IDE's...I still sometimes use VC++ 6.- IDE
Yes, and I was talking about ease of learning/use.
Hockey wrote:
BTW-Hosting is half the cost...
I can get asp.net hosting for next to nothing. Who cares if I can save < $100 a year on hosting ? Equate that cost into the extra hours learning/writing in PHP.
Hockey wrote:
As for MySQL? You can use other databases...quit easily...however there are some mega major web sites (so I understand) which are currently using MySQL...so it can't be that bad...
When I looked into it, there was no stored procedure support, and it costs money most of the time, most people who use it are probably stealing it.
Hockey wrote:
I don't think so...[^]
LOL - well, I could argue quality of sites, but the truth is you probably won that one
Hockey wrote:
I think M$'s advertising is paying off...they've brain washed you
No, I just know more about the areas I focus on. I'm sure there are CP equivelants in PHP, but I've never seen them, because I don't use it, I use ASP.NET because I'd hate to have to write sites of the size that I work on without the support it gives me. Not because I can't, but because the better the tool, the easier it is to manage complexity.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
ASP.NET from what I can tell has an advantage for the beginner programmer...thats for sure...
As for the seasoned developer...so long as you keep track of new developments and libraries written in PHP and wicked cool new projects...you can really speed up development time without even using a fancy IDE, etc...
p.s- I have yet to find a CP eqivilant for almost anything I enjoy...this is a real amazing unique community in that sense...even for programming stuff
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hockey wrote:
ASP.NET from what I can tell has an advantage for the beginner programmer...thats for sure...
Yeah, apart from it being what I know best, I really thought it was the right choice for this guy, because of where he was coming from.
Hockey wrote:
.s- I have yet to find a CP eqivilant for almost anything I enjoy...this is a real amazing unique community in that sense...even for programming stuff
Yeah, I tend to agree.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I developed an app that worked fine. I then proceeded to make a change. The change essentially allowed certain frames to be loaded with different aspx pages depending on user actions. Well, after trial and error I got the dynamic frames working. Now however controls seems to be in limbo.
the two frames in questions that are loaded dynamically are shown correctly but they don't seem to be communicating.
Here is the basic structure of the app
-Mainframe - defines 4 frames
-All frames will be dynamic at some point (same frame different aspx pages loaded into them
-What happens in one frame effects what happens in others
-Using sessions variable to communicate information
Tough problem to explain I'm Afraid, but if you have any insight I would appreciate heraing from you.
Brian55
|
|
|
|
|
In JavaScript how do I assign a value (window.idForm.idVariable.value()) to a session variable in the Global.asa file? I guess the real question is how do I use ASP code in a JavaScript function?
tjm
|
|
|
|
|
When an ASP poage is requested by a user, the code is executed on the server and the resulting page is then sent out to the client as an HTML page - so it is perfectly easy to assign an ASP-value (so to speak) to a javascript variable/function (simply enclose you ASP code in your javascript within the usual code delimiters), but as your javascript is going to be executed on the client, you cannot do the reverse without a postback to the server - sending the value you want to use in the QueryString and then extracting that in your ASP code to do whatever you want.
cheers
Phil
PS - not bad for one sentence, hey!
|
|
|
|
|
Hi all well I have to make an ASP for a company wich goal is to produce dynamics reports on the fly by querying a sql server database. The project is to let the user create is own template of report by drag/drop fields name on a webpage (more or less like Crystal Report), then the template must be save in order to produce later dynamic report... I have lot of questions to ask, but the first are these one :
- do U know how generate excel spreadsheet on the fly (Excel is not on the server no component can be buy and the spreadsheet should have 3 or 4 sheets with fomulas and a pie chat on the last one)?
- do U know an asp script which do what I want?
Any help will be appreciate
Dont steal : the government hate concurrence.
http://dypso.free.fr
|
|
|
|
|
Hi guys
I'm using a CHTMLView, which embeds an IE WebControl using IWebBrowser2 interface and i'd like to expose my app's automation server to the control beeing embeded.
To be more precise, my app is hosting the IE control AND is an automation server and i'd like to tell the ie control where is the automation server or how to use my automation methods in vbscript/javascript
Thanks
|
|
|
|
|
My name is Christos Mavroyiorgos. At present, I’m a student at the University of Patras and I have to construct a tool and environment that someone could use in order to draw and construct charts as part of a process of designing a software system. Some examples are UML Class Diagrams, Data Flow Diagrams, and Entity Relationships Diagrams.
The technologies that I use in order to implement it are the following:
• HTML
• XHTML
• CSS
• PHP
• JavaScript
• XML
• DHTML
• DOM
It is not necessary to use all the above but most of them.
Main functionality should be that someone could Drag and Drop, Resize, etc the drawing elements.
In addition to the main functionality of drawing the charts at the client side, a model(?)and a construct should be developed (with PHP) so that the user of the tool could be able to save the graph and call it back at a later moment for editing (I think this would be server side interaction).
I would appreciate very much to know whether anyone could help me in order to carry out this project or give me hints , ideas and advise, in a step by step process, by having a close collaboration or even taking charge of the whole project and implement it on my behalf ?
In any case, I would like to hear ,as soon as possible on any conditions and terms you consider to be necessary for any kind of collaboration in order to meet the demands of a successful project.
Thanks in advance
Sincerely yours
Christos Mavroyiorgos
University of Patras, Greece
|
|
|
|
|
You say:
"...or even taking charge of the whole project and implement it on my behalf."
Christos, if you want your degree/ diploma or whatever, you really ought to earn it yourself. Asking for ideas and advice is one thing; getting someone else to do your work for you is another. If don't want to, or are not capable of, becoming a programmer, I would suggest you find some other way to earn a living.
TANSTAAFL, as someone once said...
Phil
|
|
|
|
|
I agree with you Phil.
Can you give me any ideas in order to begin with it?
the last days i am reading about Javascript,Dhtml,dom etc
|
|
|
|
|
Sorry, this isn't really my field, but I can't help wonder why you want to develop this as a web application - it sounds like it would be more suited to a desktop app, and as such could be relatively easily accomplished in Visual Studio, using VB or C# or whatever other language you like.
Use the right tool for the right job - makes all the difference!
Good luck
Phil
|
|
|
|
|
|
Wow - any sort of charting app will require some pretty complex JScript, and work on a limited subset of browsers. As such, if you're targetting IE6, why is it that you need to use PHP ? I think your teacher is an idiot. PHP is useless in the real world, that is to say, you won't be getting experience that will help you find a job.
No matter what, this is the wrong project to be implimenting as a web app.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am aC++ and php programmer/scriptor (sp?) but know little about javascript and the document object model. How do I dynamically find the the top and left values (IN PIXELS) of an object with respect to the top left of the browser window. I use tables to format pages so objects can have parents, grandparents, great-grandparents,..etc. The clientLeft and offsetLeft in conjunction with the offsetWidth dont give me the values I need to set the proper location. I need a way to find the position with respect to the top left corner of the client area of the IE Explorer browser window.
I have searched the msdn and am not finding the answer.
Thanks a million.
|
|
|
|
|
Dear CPian,
in the HTML world, all tags have a STYLE called "position". The "position" style can have a few different values. The 3 most used that you should be aware of are:
inline
absolute
relative
The default one is INLINE which allows the HTML elements to be rendered as they are found within the HTML code. In other words they follow the flow of the code in respect of their parent element.
The ABSOLUTE positioning will ignore the hierarchy for of the element(in the HTML code) to wich is applied and position the element to exact coordinates having as origin the most top and most left of the browser wndow. This is why you will notice that all asolutely positioned elements also have a LEFT and a TOP style, style attributes that take as values numbers in pixels, picas, ems and percentages and a few others that my mind is missing now. So an element coded as such:
<DIV style="position:absolute; top:100px; left:100px;">I AM ABSOLUTELY POSITIONED</DIV>
will have its origin(top left corner of the DIV) to the coordinate 100,100 discarding any parent elements. No matter where it is found within the code, its position wouldn't change.
The RELATIVE positioning is the same with the ABSOLUTE with one main difference. It uses as an origin its parent elemets top most and left most position instead of the browser top most and left most position.
Hope I helped. :P
theJazzyBrain
Excellence is not an act, but a habit! Aristotle
|
|
|
|
|
Hi all !
i want to access .ini files in clients local filesystem using client-side javascript.....
can i do that ?
do i have any control on client's local system ?
please reply back asap if u know anything related to that...
thank you,
abhi
Abhijeet Jadhav
|
|
|
|
|
|
Hi...
thanks for the information ...
actually i want to retrieve the version of ActiveX component registered on the client-side from client-side javascript code.
so i am instantiating component by calling
var obj = new ActiveXObject(name_of_component)
and then i invoke its method Get_Version() which returns me the version of component. In this Function, i can read .INI file to retrieve the version.
But the problem is that all methods of COM interface return HRESULT value, so to get version, i need to pass version parameter by address.
Now How do we pass function parameter by address in JavaScript ?
Can you help me doing that ? or any alternative way if you can think of.
Please let me know ASAP.
Thank You,
Abhi
Abhijeet Jadhav
|
|
|
|
|
Hi there
Is there a way to retrieve a remote servers SMTP logs in ASP.Net using vb code. I need the logs for reporting purposes, any help will be greatly appreciatted.
Thanks
|
|
|
|
|
|
how to draw a rectangle on an image in asp .net
|
|
|
|
|