Articles

Depending on the form complexity, fill each DTO attribute from $ _REQUEST may be a lot of work. Of course, good frameworks solve this case easily. But if for some reason our framework don't implement this mapping, or if we aren't using any framework, and for each DTO attribute we must do something like $ dto-> seAttributeName ($ _REQUEST ['attributeName']), an alternative is to implement a simple function that does it for us.
In hardware development, the use of reusable software in physical components replacement may be a great alternative when you wish a lower cost in manufacturing. One of the best allies of this perspective of low-cost hardware is the old Bit Bang (or Bit Banging) technique. Using this technique it's possible to enable our microcontroller to communicate with protocols as I2C, UART, SPI, USB, ethernet, among others, without the need of a specific hardware to do so. All done by software.
Subscribe to RSS - Articles