I'm new to Passkeys and I was wondering if it is possible to use php to implement them as seen here: https://www.passkeys.com
Thanks and hopefully this isn't a silly question.
I've looked at OwnID and they have NodeJS, Python, and other integrations, but I would like to use php if possible.
If it can be done in one programming language it's generally possible in others ;) https://github.com/herrjemand/awesome-webauthn lists multiple PHP implementations.
Related
Orthogonality is a relatively small set of primitive constructs can be combined in a relatively small number of ways to build the control and data structures of the language. I want to know if PHP has this feature or not? If yes? Then Can anyone explain this to me with example?
I tried searching a lot, but found no answers related to this. Is that mean, PHP does not provide this feature?
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Using multiple php frameworks on one website
I want to start building a web application for the first time. I'm good in PHP at least but wanted to use a framework (please don't discourage me).
I've searched about most PHP Frameworks and found that Zend and CodeIgniter were the best for my project.
Can I use two or more frameworks together in the same web app? If yes, what are the advantages and disadvantages??...
Pls help!
I think nobody ought to discourage you from using a framework : it will save you a LOT of trouble eventhough it introduces a small amount of complexity. See for example http://symfony.com/doc/2.0/book/from_flat_php_to_symfony2.html for details :) (yes, I like symfony).
Now most serious frameworks being well designed they can allow you to use parts of other well designed frameworks (I think symfony uses bits from zend). That being said, frameworks are somewhat complicated and I'd say you're better off using only one at a time and maybe expand later if absolutely necessary.
Is there a library I can use my C# (my option because this language is feasible-useable in most platforms; it truly outperforms C++ and Java, up to 85-90% : just personal % but self reliable) with PHP ? I am new to PHP, just don't know what to do with it until I'm commanded.
Sorry, i mean to setups to display in browsers, and to use in database,.
If you mean integrating C# libraries with PHP, yes, you can.
PHP happens to have a rarely-used COM library. I'm fairly sure it's what you're looking for.
http://php.net/manual/en/book.com.php
However, consider simply learning either ASP.NET (C#-like) or PHP itself. Combining two languages is almost never a good idea.
CAVEAT: I have not used PeachPie or Phalanger at all.
Depending on your requirements, one approach is to bring PHP into the .NET environment.
See PeachPie.
PeachPie is based on Phalanger compiler
NOTE: As in all attempts to combine different technologies, expect to have to learn some of both environments, to be productive. And expect to bump into annoying problems, limitations, and bugs that wouldn't be an issue if only using one of the two.
Also consider: when you encounter a problem, it may be harder to find a solution:
Many people use php. Many people use c#. Only a tiny fraction of those people try to combine the two.
I've been coding php for years, and now i have to finally make my own project, and i want it very optimized and shiny. So, i've been searching around the net about which programming language should i use for my needs (fast, secure, easy-understandable, customizable) and all points to -> Python. So I decided to go on, but i just can't feel "home" when writing python (inc Django app...). I got used to PHP's syntax, and my IDE (PHP Expert Editor 4.3) makes php look awesome, so now i just can't go with python.
Maybe there is something which has php's syntax (let's say per example: Perl)...but the advantages of a high-level programming language (aka Python)?
Use what you like and what you know. If you want to try something new that's ok .. but if you want to start a serios project now I would not use a new language for this.
Maybe better look what you could do better with php. (Maybe use a better template engine or design clever classes or whatever). Many huge webapps are developed with php and are working very well.
Also I would not say that Django is a highly optimized framework .. if you want to look into something new well documented you could check the flask microframework http://flask.pocoo.org/
This line of work requires you to adjust to different syntaxes (even in PHP alone you need to know sql and js and Css and html too...).
So the answer is no, there is nothing like what you ask, and you better get used to that :-)
b.t.w is Python really faster than PHP?
If you've been coding in PHP for years, then maybe PHP is still the right choice for you? As long as your project is related to web (by the way Facebook uses PHP!) you should stick to it.
Python is really easy and fun to learn, but as any other programming language - it requires time to get into it. And for web projects, you'll have to catch up with frameworks and maybe servers (e.g. tornado).
If you'd like to do something on enterprise level, Java is also a good choice. But never as easy and as fun as Python :)
This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
What Should I Learn After PHP?
Ive been doing PHP for the past 2 years and I'm quite comfortable with it, I can do most things and I'm finding it harder to find challenges. Which is good I suppose.
But as I become more experienced I'm hearing bad things about it. That in the grand scheme of programming it's a baby.
So what would you recommend I move on to? I thought mabey Java or C. But you guys are the experts. What do you think?
Also, could you suggest some good places to learn.
Take anything you hear about PHP with a pinch of salt. Whilst it can be used as a simple scripting language, you can write entire object-oriented web applications with it (PHP5 adds massively to this).
PHP is my language of choice for many web projects - and not just because it's the one I know best, I've been using C#.NET, ASP.NET and WPF for much longer than I've been using PHP).
It depends on what you want to do, you choose the right tool for the job. PHP is a fine choice for rapid web development.
However, even if your day job requires you to stick with PHP, learning another language by doing some toy projects will actually improve the way you write PHP. Pick a language, try it out for a few months, then try out another!
What about participating in some kind of Open Source project ? Now that you have some experience, you would probably be able to help doing nice stuff ;-)
It would also be a rewarding / interesting experience :
not working alone is often better -- you learn more stuff, and you are more motivated
working on a big OSS project looks nice on a resume, too ;-)
It depends on why you want to move really. Are you looking to get past PHPs alleged flaws and produce better webapps, are you wanting to improve your programming ability/style/technique or do you want to learn a different style of programming?
You probably only want to learn C if you intend to move away from web-development. Java probably isn't going to teach you anything that you don't already know from PHP, assuming you write OO PHP code of course.
Learning one of Python/Ruby/Javascript would let you learn about functional programming - if that's your goal.