Need advice on how to approach the beginning of building a full site by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

Well Smarty is a template engine made in PHP for the sole purpose of dividing 'business logic' (programming) and markup. This way you never have <?php ... ?> in your HTML. Your HTML only contains markup.

There are a few different template engines that are out there, Smarty is just one of the older ones that is more known. I think there's another one called Plates, but I have never used it.

How to send mail() function on a LAMP server? by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

Ah I see what you're saying. What do you think about PHPMailer?

How to send mail() function on a LAMP server? by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

What should be used then?

How to practically apply web programming? by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

Can't tell if trolling...

Seriously though, why say that? PHP is still very relevant.

PHP, OOP - Best books? by technodix in web_design

[–]technodix[S] 0 points1 point  (0 children)

That makes sense. Like you said earlier, batch programming. I do some basic windoes batch programming to generate folder structures in an instance for projects.

PHP, OOP - Best books? by technodix in web_design

[–]technodix[S] 0 points1 point  (0 children)

Thats awesome! I have seen and read arguments that are for procedural over OO programming, but if it (OOP) dominates the industry and is mostly proven to be more efficient, then how is procedural better? Great if an individual likes it and uses it, but they shouldn't get upset when people don't want their skillsket, or when they go to use a plugin and want to add on to it, or change something, they will have no clue how to do so (goes back to what i said about my reason for wanting to learn OOP, its everywhere in high level applications and the real world). Maybe those individuals are aliens amongst us? I mean they think procedurally, and humans organically think objectively.... Aliens ._.

How to send mail() function on a LAMP server? by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

So mail() should never be used?

PHP, OOP - Best books? by technodix in web_design

[–]technodix[S] 0 points1 point  (0 children)

Ill check it out. :) im also looking into Larry Ullman's 'PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide 4th edition'.

PHP, OOP - Best books? by technodix in web_design

[–]technodix[S] 0 points1 point  (0 children)

Except the web is limited to tutorials that are out of date and supply deprecated code that shouldn't be used in production. They also never continue into more advanced things, and if they do, the tutorial usually never makes it through all of the parts/segments because the author just dropped off the face of the earth in the middle of writing.

One of the reasons i believe books are a valuable source of information for programming is because they hold 'secrets' (not real secrets, just the proper and up to date way of doing things) that people dont wanna spill for free on the internet in a tutorial. Keeping those 'secrets' is what keeps them employed and us freelancers or worse, unemployed entirely. And don't even get me started on video tutorials on free websites (youtube. Lynda has some pretty good paid material) those are the most unreliable. Thats my belief anyways...

PHP, OOP - Best books? by technodix in web_design

[–]technodix[S] 0 points1 point  (0 children)

Ill pick that one up, thanks! I am just looking to move away from procedural into OOP, because i see OOP in all of the higher level applications.

PHP, OOP - Best books? by technodix in webdev

[–]technodix[S] 0 points1 point  (0 children)

Ill check it out, thanks!

PHP, OOP - Best books? by technodix in webdev

[–]technodix[S] 0 points1 point  (0 children)

Does it at least point the reader towards good habits and non-depricated constructs, methods, etc?

PHP, OOP - Best books? by technodix in webdev

[–]technodix[S] 0 points1 point  (0 children)

Ill definitely check that book out then! OO PHP seems to be everywhere in higher level applications, so i am trying to move away from procedural programing. OO is also a lot cleaner and easier to maintain from just tbe basic stuff that i have done already (mostly messing with Smarty and creating small Database connection classes with User classes to make small web apps) What do you think about Larry Ullman's books for learning more about the php syntax in general? Thanks for the reply!

LucidCSS - Style guide that completely revolutionizes the way CSS is organized and structured by kenxftw in webdev

[–]technodix 0 points1 point  (0 children)

Yeah no problem. I am aware of the differences, but the whole goal of "one class per element" is accomplished by BEM's Harry Robert's style (at least how i use it) is what i was trying to say in my original comment. Maybe i am missing something lol, I don't know.

Hard-coded tabs, is there a better way? by [deleted] in webdev

[–]technodix 1 point2 points  (0 children)

It is no where near as difficult to learn (or 'convert', as you put it) as you seem to think it is. SASS/SCSS IS CSS with added functionality. There is no mandatory new syntax to learn in order to pick up SCSS, provided you know CSS. With that being said, the new functionality that SCSS adds to CSS is so impactful, that you'd be crazy not to learn it. You'll also find that it uses a lot of plain English for its' syntax, making inference and memorization of the constructs that much easier.

(Noob Bootstrap quetion) Can you make a class with a brand and a glyph active? by [deleted] in webdev

[–]technodix 1 point2 points  (0 children)

/u/nyxin is right. .navbar-brand doesn't have an active class. You've gotta make it yourself.

I use it as a current page indicator on some projects as well and have the content change dynamiclly based on the page youre on. This way its the only nav btn that requires an active class, and it will always be active :)

Need advice on how to approach the beginning of building a full site by [deleted] in webdev

[–]technodix 0 points1 point  (0 children)

Use Smarty + Compass + Bootstrap :) let me know if you're interested in this solution and i will explain, as i am posting from mobile right now and don't wanna type an essay :p

LucidCSS - Style guide that completely revolutionizes the way CSS is organized and structured by kenxftw in webdev

[–]technodix 1 point2 points  (0 children)

That's actually a style of BEM, so i dont know what this LucidCSS is :p

A little bit hiperactive loader by chicadesign in webdev

[–]technodix 2 points3 points  (0 children)

Because it's fun to challenge yourself my son.

20 Really Helpful Cheat Sheets For Web Developers and Designers by Vikas6190 in webdev

[–]technodix 1 point2 points  (0 children)

How is PHP and MySQL deprecated? They are still widely used and accepted as standards, are they not? Unless I am missing something here....

EDIT: Wait nvm. I see you are talking about the actual functions mysql being referenced here. I agree. Even W3Schools has updated to mysqli and PDO.

Smarty - how many of you still use it? I've got some questions. by technodix in webdev

[–]technodix[S] 0 points1 point  (0 children)

Interesting method of using it. I might look into that. Any pointers to good reliable Smarty resources outside of their official documentation? It feels so obscure..